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

Disabled select when no options but allowNewOption is on #346

Open
enp-madamiec opened this issue Aug 7, 2024 · 1 comment
Open

Disabled select when no options but allowNewOption is on #346

enp-madamiec opened this issue Aug 7, 2024 · 1 comment

Comments

@enp-madamiec
Copy link

Shouldn't we check allowNewOption config before we set select as disabled? Right now I have scenario when there are no options provided but I should allow add new options. Right now is impossible without adding at least 1x option.

if (hasNoOptions && !this.allowNewOption) {

@gnbm
Copy link
Collaborator

gnbm commented Aug 22, 2024

@enp-madamiec could you provide a replication sample?

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

No branches or pull requests

2 participants