vscode-webview-ui-toolkit icon indicating copy to clipboard operation
vscode-webview-ui-toolkit copied to clipboard

vscode-optgroup component

Open scholarsmate opened this issue 2 years ago • 0 comments

Feature request

VS Code component for the standard HTML optgroup element for organizing vscode-dropdown vscode-options.

Expected behavior

To be able to organize vscode-options in a vscode-dropdown using vscode-optgroup in the same way standard HTML options can be organized in a select using optgroup.

Current behavior

There currently is no work-alike to optgroup in the library that I'm aware of.

Use case

Selecting one of various kinds of encodings in a hex editor.

Screenshots/references

Here, I'm using a standard select, options and optgroup for the encodings, but would prefer to use vscode-dropdown with vscode-options and vscode-optgroup for the same look-and-feel:

Screen Shot 2023-01-03 at 5 06 22 PM Screen Shot 2023-01-03 at 5 06 33 PM

scholarsmate avatar Jan 03 '23 22:01 scholarsmate