You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using simple data binding on i.e a select element, when a model is created it will not upon creating automatically set the values as on the select elements. This should be the desired effect as on first initialization the model is out of sync with what value is actually on the element. In my opinion, it should upon being created transverse through the model bindings and set the values as on the elements, however if values are supplied when creating the agility object are supplied it use those values instead and 'sync' with the bound elements.
Is there any decent way around this, aside from creating the model object with default values which can be cumbersome and add unnecessary code?
The text was updated successfully, but these errors were encountered:
When using simple data binding on i.e a select element, when a model is created it will not upon creating automatically set the values as on the select elements. This should be the desired effect as on first initialization the model is out of sync with what value is actually on the element. In my opinion, it should upon being created transverse through the model bindings and set the values as on the elements, however if values are supplied when creating the agility object are supplied it use those values instead and 'sync' with the bound elements.
Is there any decent way around this, aside from creating the model object with default values which can be cumbersome and add unnecessary code?
The text was updated successfully, but these errors were encountered: