Activiti-AngularApp icon indicating copy to clipboard operation
Activiti-AngularApp copied to clipboard

Missing ng-checked for booleans in form

Open michelnl opened this issue 10 years ago • 1 comments

There is an issue with the checkboxes in form.html.

< input ng-if="item.type=='boolean'" ng-visible="item.readable" ng-enabled="item.writable" type="checkbox" class="form-control" placeholder="{{item.name}}" ng-model="taskDetailed.propertyForSaving[item.id].value" style="width:16px;">

with ng-checked it will show when true or false:

< input ng-if="item.type=='boolean'" ng-visible="item.readable" ng-enabled="item.writable" type="checkbox" class="form-control" placeholder="{{item.name}}" ng-model="taskDetailed.propertyForSaving[item.id].value" style="width:16px;" ng-checked="{{item.value}}">

michelnl avatar Apr 28 '15 11:04 michelnl

Awesome, than you for this! I will add it in the code.

savicprvoslav avatar Apr 28 '15 14:04 savicprvoslav