Closed nextglory closed 8 years ago
I found that when enter key is fired, the form $valid state is true, this is whird.
This is not handled by angular-formly, but by the 3rd party wizard directive
In their docs you can read how they handle step validation: https://github.com/mgonto/angular-wizard#wizard-step-validation
Fixed example: http://jsbin.com/fexuji/1/edit?html,js,console,output
benoror, awesome, I checked your code and amazingly cool.....
:smile:
In the second step of demo: http://angular-formly.com/#/example/integrations/angular-wizard
If you click the enter key, it will go to the next step, even when the fields are required.
Any solutions on this?