Skip to content

Commit 865f55e

Browse files
committed
Checkboxes fix
Seems to work now
1 parent 1139c97 commit 865f55e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/checkboxes.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<div sf-array="form" ng-model="$$value$$"
22
class="form-group schema-form-checkboxes {{form.htmlClass}}"
33
ng-class="{'has-error': hasError(), 'has-success': hasSuccess()}">
4+
45
<label class="control-label" ng-show="showTitle()">{{form.title}}</label>
56
<div class="checkbox" ng-repeat="val in titleMapValues track by $index" >
67
<md-checkbox ng-model="titleMapValues[$index]"
78
sf-changed="form"
89
ng-disabled="form.readonly"
9-
schema-validate="form"
1010
name="{{form.key.slice(-1)[0]}}"
11+
ng-true-value="true"
12+
ng-false-value="false"
1113
aria-label="{{form.title || form.key.slice(-1)[0]}}">
1214
<span ng-bind-html="form.titleMap[$index].name"></span>
1315
</md-checkbox>
@@ -19,4 +21,5 @@
1921
-->
2022
<div sf-message ng-message></div>
2123
</div>
24+
2225
</div>

0 commit comments

Comments
 (0)