fix(InputMenu/SelectMenu): support arbitrary value (#3779)

This commit is contained in:
Sandro Circi
2025-04-02 22:28:09 +02:00
committed by GitHub
parent 041989549a
commit 52a97e2df7
4 changed files with 12 additions and 2 deletions

View File

@@ -36,7 +36,6 @@ interface _InputMenuItem {
* @defaultValue 'item'
*/
type?: 'label' | 'separator' | 'item'
value?: string | number
disabled?: boolean
onSelect?(e?: Event): void
[key: string]: any

View File

@@ -36,7 +36,6 @@ interface _SelectMenuItem {
* @defaultValue 'item'
*/
type?: 'label' | 'separator' | 'item'
value?: string | number
disabled?: boolean
onSelect?(e?: Event): void
[key: string]: any