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

fix: disable select if all options are disabled #640

Merged
merged 1 commit into from
Jan 11, 2024
Merged

Conversation

LinaYahya
Copy link
Contributor

No description provided.

@LinaYahya LinaYahya requested a review from spaenleh January 10, 2024 10:34
@LinaYahya LinaYahya self-assigned this Jan 10, 2024
@spaenleh
Copy link
Member

Oh looks like our PRs got crossed. I added a disabled prop in #634 and in the Builder I allowed the disabled prop to be either a boolean or the DisabledMap that you created and passed it to the right Select prop.

Here you propose something that makes the Select component a bit smarter.

Should we keep both @pyphilia ?

Copy link
Member

@spaenleh spaenleh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good, but can you rebase on the latest main ?

@spaenleh spaenleh changed the title feat: Disable select if all options disabled fix: disable select if all options are disabled Jan 11, 2024
@spaenleh spaenleh merged commit 45f2860 into main Jan 11, 2024
2 checks passed
@spaenleh spaenleh deleted the disable-select branch January 18, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants