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

SelectControl don't support options attributes and optgroups #8426

Closed
ghost opened this issue Aug 3, 2018 · 4 comments
Closed

SelectControl don't support options attributes and optgroups #8426

ghost opened this issue Aug 3, 2018 · 4 comments
Labels
[Feature] UI Components Impacts or related to the UI component system [Package] Components /packages/components [Type] Enhancement A suggestion for improvement.

Comments

@ghost
Copy link

ghost commented Aug 3, 2018

Describe the bug
SelectControl lack support for options attributes ( disabled namely ) and there is no support for optgroup.

Expected behavior
Ability to pass into component options disabled attribute and be able to add options in optgroups.

Additional context

Terrible job so far, keep it up! And for love of god start working on proper documentation for this monster.

@youknowriad youknowriad added the [Type] Enhancement A suggestion for improvement. label Aug 3, 2018
@aduth aduth added [Package] Components /packages/components [Feature] UI Components Impacts or related to the UI component system labels May 31, 2019
@paaljoachim
Copy link
Contributor

Is this issue still relevant?
If so how can we move in onward?

@Ugoku
Copy link

Ugoku commented Jan 18, 2021

Yes, this is still relevant! Please see #17032 as well

@paaljoachim
Copy link
Contributor

Thank you for the feedback!

Pinging:
@WordPress/gutenberg-core

@tellthemachines
Copy link
Contributor

It's already possible to add attributes such as disabled to the underlying select element in SelectControl. See this section of the readme for details.

As the only remaining item to address is optgroups, I'm closing this issue in favour of #17032.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] UI Components Impacts or related to the UI component system [Package] Components /packages/components [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

5 participants