mary
mary copied to clipboard
add an `optgroup` to the select component
https://developer.mozilla.org/ja/docs/Web/HTML/Element/optgroup
Is it possible to add an optgroup
to the select component?
I am not sure if we should create a new component or adapt the existing one.
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)
Released , thanks to @itsmenewbie03
https://mary-ui.com/docs/components/select#group