Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • René 327 posts 852 karma points
    Dec 15, 2014 @ 14:31
    René
    0

    Add selected value slider

    Hi 

    Umbraco version: Umbraco 7.2
    Database: sqlLite

    I´m trying to add the value from the slider to a span, next to the slider. 

    Either add the value next to the slider, or add the combined value on top of the slider. 

    Exampel 1:23:25

    When i see under ~/umbraco/Views/propertyeditors/slider/slider.html i find the slider and i have added a value inside a span.

    Question: Is it possible to add the value dynamicly, to an exsisting datatype. 

    <div ng-controller="Umbraco.PropertyEditors.SliderController">
    
        <input type="text" name="slider" class="slider-item" />
        <span>123123</span>
    
    </div>

     

    I have been looking arround for some help, but without any luck. http://umbraco.github.io/Belle/#/tutorials/CreatingAPropertyEdito

    (I´m new to angularjs, so sorry if its a simple question)

    I´m in a bit hurry, and it should be finished today, any help would be appreciated.

    René

  • René 327 posts 852 karma points
    Dec 15, 2014 @ 14:51
    René
    0

    HI Again 

    I hawe found a way, to display a text, but how do i connect it to the exsisting slider. 

    <div ng-controller="Umbraco.PropertyEditors.SliderController">
    
        <input type="text" ng-model="slider" name="slider" class="slider-item" />
        <span>{{slider.test}} 123123</span>
    
     <input name="test" ng-model="slider.test" /> {{slider.test}}
    
    </div>

    René

  • René 327 posts 852 karma points
    Dec 16, 2014 @ 00:18
    René
    0

    Hi 

    I found the soulition for this. 

    http://imulus.github.io/Archetype/

    René

Please Sign in or register to post replies

Write your reply to:

Draft