Closed sinall closed 4 years ago
Did you try data-e-name="some-name"
when you defined the checkbox?
@ckosloski
I made an example on jsfiddle, but the input element still doesn't have a name:
<input type="checkbox" checklist-value="s.value" ng-model="checked" class="ng-scope ng-pristine ng-valid ng-not-empty ng-touched" checklist-model="$parent.$parent.$data">
Ideally, the input should have name="check_list[]"
in order to hold multiple values as this thread described.
OK, I think I see the issue. I'll see if I can come up with a fix.
I've created a PR for this, please review.
When one of checkbox is checked, I want some other elements to show or hide. So I plan to use
editableForm['some-name']['$viewValue']
, but this isundefined
. I checked the html, but it seems thatname
is not added ontoinput
.