Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ejaz47 opened this issue Feb 16, 2018 · 2 comments
Labels
ionitron: v3 moves the issue to the ionic-v3 repository

Comments

@ejaz47
Copy link

ejaz47 commented Feb 16, 2018

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

@ionitron-bot ionitron-bot bot added the triage label Feb 16, 2018
@Ionitron Ionitron added the ionitron: v3 moves the issue to the ionic-v3 repository label Nov 29, 2018
@ionitron-bot
Copy link

ionitron-bot bot commented Nov 29, 2018

This issue has been automatically identified as an Ionic 3 issue. We recently moved Ionic 3 to its own repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.

If I've made a mistake, and if this issue is still relevant to Ionic 4, please let the Ionic Framework team know!

Thank you for using Ionic!

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 29, 2018

Issue moved to: ionic-team/ionic-v3#407

@ionitron-bot ionitron-bot bot closed this as completed Nov 29, 2018
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 29, 2018
@ionitron-bot ionitron-bot bot removed the triage label Nov 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ionitron: v3 moves the issue to the ionic-v3 repository
Projects
None yet
Development

No branches or pull requests

2 participants