Copied to clipboard

Flag this post as spam?

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


  • Doron 6 posts 28 karma points
    Mar 27, 2014 @ 08:52
    Doron
    1

    Drop down editor problem

    Hi,

    Nice package, we were missing data-grid in v7.

    There is a small bug in the dropdown editor. 

    propertiesViews\dropdown.html has 

      <option ng-repeat="option in model.config.columns.columns[$index].props.options" value="option.value">{{option.text}}</option>

    When it should be

      <option ng-repeat="option in model.config.columns.columns[$index].props.options" value="{{option.value}}">{{option.text}}</option>

    otherwise you always get 'option.value' as your data.

    You might also want to take a look at the ngOptions directive  it makes life much simpler.

     

  • gilad 185 posts 425 karma points
    Mar 27, 2014 @ 09:13
    gilad
    0

    Hi Doron.
    Thanks for that,
    I changed it to ng-options.
    I'll update the project later today.
    Cheers. 

Please Sign in or register to post replies

Write your reply to:

Draft