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: "--"-Entry should be removed if there is a requiredValidator #179

Open
KuhnMichael opened this issue May 18, 2021 · 1 comment
Open
Labels
enhancement New feature or request question Further information is requested

Comments

@KuhnMichael
Copy link
Contributor

The empty entry could be removed based on the validators attached to the bound form control.

@KuhnMichael KuhnMichael added enhancement New feature or request question Further information is requested labels May 18, 2021
@KuhnMichael KuhnMichael changed the title select: "--"-Entry should be removed if the there is a requiredValidator select: "--"-Entry should be removed if there is a requiredValidator May 18, 2021
@saithis
Copy link
Collaborator

saithis commented May 18, 2021

This would require a very hacky and error prone implementation. Angular doesn't really provide a way to check this reliably.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants