Select with nested options #242
Unanswered
raulpacheco2k
asked this question in
Q&A
Replies: 1 comment
-
|
Nested options in a select element can be represented using children() and optgroup() in the following way. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm migrating from Laravelcollective to Laravel HTML, in Collective I can display nested options in the selected ones. But I'm not able to do the same thing with Laravel HTML.
Is there any way to use html()->select() with nested options? I tried to find something but I didn't find it. I had to make a component for this, but I'm not satisfied with this solution. Is there anything more elegant?
I would like to do something similar to this:
Previously the code was like this in Collective
And this was the result.
Beta Was this translation helpful? Give feedback.
All reactions