jsviews: input type='checkbox' not working properly in new version
In previous version (before Mar 6 update), I used this syntax to get and set value for checkbox:
<input data-getfrom="checked:Alarm" data-to="Alarm" type="checkbox"/>
If I use the new syntax like this:
<input data-link="Alarm" type="checkbox" />
If Alarm property is set to true, it doesn’t show as checked at the checkbox. However, I can see that in the view model, the property can be updated when user check or uncheck the checkbox.
What should I do for the new version?
About this issue
- Original URL
- State: closed
- Created 12 years ago
- Comments: 15 (8 by maintainers)
if type=“ckeckbox” default setting value = 0, change it to value = false. or It’s working for me with type=“selectboxes” instead of type=“checkbox”. with json format