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

add an optgroup to the select component #408

Closed
s-kitade opened this issue Apr 30, 2024 · 3 comments
Closed

add an optgroup to the select component #408

s-kitade opened this issue Apr 30, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@s-kitade
Copy link

https://developer.mozilla.org/ja/docs/Web/HTML/Element/optgroup

Is it possible to add an optgroup to the select component?

@s-kitade s-kitade added the enhancement New feature or request label Apr 30, 2024
@robsontenorio
Copy link
Owner

I am not sure if we should create a new component or adapt the existing one.

@theChaosCoder
Copy link

With the latest web updates more fun stuff is now possible with select.
For example < img> or < hr> tags inside option.

see
https://youtu.be/_-6LgEjEyzE?t=2195
https://youtu.be/_-6LgEjEyzE?t=2010

Maybe this helps to decide how to implement optgroup (and make it future proof)

@robsontenorio
Copy link
Owner

Released , thanks to @itsmenewbie03

https://mary-ui.com/docs/components/select#group

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

No branches or pull requests

3 participants