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
{{ message }}
This repository has been archived by the owner on Nov 24, 2018. It is now read-only.
This is an interesting feature. Expect a valdr-enabled directive in the next couple of days. I already have a working version of it locally which just needs some polishing.
* origin/master:
feat(core): Introduce valdr-enabled directive Allows to dynamically enable and disable the validation with valdr for one or multiple form elements. closes#54, fixes#55
Conflicts:
Gruntfile.js
src/core/valdrEnabled-directive.js
src/core/valdrEnabled-directive.spec.js
src/core/valdrFormItem-directive.js
Hi, I really like your library but I would really like to be able to dynamically enable/disable the validation based upon some other model value. e.g.
<div valdr-form-group valdr-enabled="vm.isLive === true">
<input id="onlyValidateWhenLive" name="onlyValidateWhenLive" type="text" />
</div>
I couldn't find a way of passing model values to a custom validator which would be my preferred method.
The text was updated successfully, but these errors were encountered: