Validation in form
hugsbrugs opened this issue · 0 comments
hugsbrugs commented
Hi,
I wish I could use your plugin in replacement of the most famous one (https://github.com/frapontillo/angular-bootstrap-switch) because it has no dependency to jquery. The point I'm stuck on is the integration in a form. I'm using a switch for a classical "I Agree" YES/NO which is part of other fields. I want form validate button to be active only when all fields validity is true. To achieve this, I need the switch to be an input (checkbox) element (it can be hidden) but I don't see any in the generated DOM. Does anyone already integrate toggle switch in a form the angular way ? Thanks for telling me if it's out of the scope of this plugin or if it's something lots of users would like !