Skip to content

Add support for optgroup in select components#659

Merged
SergeyMosin merged 1 commit intoSergeyMosin:masterfrom
luxigo:optgroup
Apr 13, 2026
Merged

Add support for optgroup in select components#659
SergeyMosin merged 1 commit intoSergeyMosin:masterfrom
luxigo:optgroup

Conversation

@luxigo
Copy link
Copy Markdown
Contributor

@luxigo luxigo commented Apr 13, 2026

This PR adds basic support for the <optgroup> tag within the Select component.
This allows for better categorization and organization of long option lists.

{
    "tag": "select",
    "label": "Select it",
    "options": [
      "Other",
      [ "optgroup", " Category 1" ],
      "Option 1",
      "Option 2",
      ["/optgroup"],
...
}

@luxigo luxigo changed the title Add support for optgroup in select form components Add support for optgroup in select components Apr 13, 2026
@SergeyMosin SergeyMosin merged commit a0d8aae into SergeyMosin:master Apr 13, 2026
@SergeyMosin
Copy link
Copy Markdown
Owner

@luxigo If you want a key to unlock the contributor features please email me at sergey [at] srgdev.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants