An automatic validation module for AngularJS which gets rid of excess html in favour of dynamic element modification to notify the user of validation errors
MIT License
346
stars
76
forks
source link
Correct icons for select, check and radio + Add support for bootstrap checkbox and radio buttons + add support for specific help-block container #153
remove insertion of validationState icons for radio, checkbox and select element. This avoid wired display for this kind of input since according to bootstrap documentation:
Feedback icons only work with textual elements.
add a new feature for inserting help-block in specific place. Sometime it can be useful to be able to set precisely where the help-block should be added if element becomes invalid.
Now you can just put a container with help-block-cont class inside the form-group to force the help-block to be added in it.
It is particularly useful with horizontal forms with grid structure.
Example:
First thanks for your work !
This pull request is for:
Cordially and sorry for my english...