Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Select control of FormGroup to be invalid if select value are different from the given option. #407

Open
ionitron-bot bot opened this issue Nov 29, 2018 · 0 comments
Labels

Comments

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 29, 2018

Original issue by @ejaz47 on 2018-02-16T05:01:33Z

Ionic version:
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[x] 2.x
[x] 3.x

I'm submitting a ... (check one with "x")
[x] bug report
[x] feature request

Current behavior:
As per the standard in HTML you can not set a value(which is not available in option) of select control even from Javascript.
Setting any value for the Select control of FormGroup always gives valid which is unexpected.

Expected behavior:
Select control of FormGroup to be invalid if select value are different from the given option.

Steps to reproduce:
working Plunker link.

Other information:
I have already asked it on Stack overflow

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

0 participants