ui icon indicating copy to clipboard operation
ui copied to clipboard

[Feature request] `USelectMenu` option types

Open ElYaiko opened this issue 1 year ago • 1 comments

Description

Sometimes in the SelectMenu custom elements are useful to be rendered instead only options.

Dividers:

When in options there is an option like: { divider: true } it should render: <hr class="w-full border-gray-700"/>

Header:

When in options there is an option like: { header: 'Text' } it should render: <h5 v-else-if="('header' in option)" class="text-gray-400">{{ option.header }}</h5>

More element types could be added but these are the most common, for example: Link1 Link 2

Thanks!.

Additional context

No response

ElYaiko avatar Dec 28 '23 22:12 ElYaiko

Any update?

ElYaiko avatar Mar 15 '24 14:03 ElYaiko

This has been implemented in v3 already.

benjamincanac avatar Oct 17 '24 16:10 benjamincanac