Skip to content
This repository has been archived by the owner on Apr 30, 2018. It is now read-only.

Radio Group Validation #82

Open
jacobharasimo opened this issue Jan 20, 2016 · 0 comments
Open

Radio Group Validation #82

jacobharasimo opened this issue Jan 20, 2016 · 0 comments
Labels

Comments

@jacobharasimo
Copy link

If you create a form with a group of radio choices validation of the radios wont happen on keyboard input unless you 'blur' from the last radio.

example:

http://jsbin.com/yosodolepe/1/edit?html,css,js,output

click on the input.
press tab once -> notice the input becomes invalid and focus is now on the first radio option
press tab a second time and focus now is on the 'remove' button
note radios are not marked invalid but should be

press shift+tab and note focus is now on the last radio option

press tab, focus is now on the remove button and this time radios are marked invalid
the radio's should of been marked invalid in both cases yet it appears validation is only happening when you 'blur' from the last radio option.

This only happens in chrome i believe as in FF it works as expected...

Origionally i posted this to Formly but investigation points back here:

formly-js/angular-formly#605 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants