mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
746 B
746 B
Popselect
If you want select some options but don't want a picker, you can use popselect instead.
Demos
basic
size
scrollable
multiple
Props
Name | Type | Default | Description |
---|---|---|---|
multiple | boolean |
false |
|
options | Array<SelectOption | SelectOptionGroup> |
[] |
|
scrollable | boolean |
false |
|
size | 'small' | 'medium' | 'large' |
'medium' |
|
value | string | number | Array<string | number> | null |
null |
|
on-update:value | (string | number | Array<string | number> | null) => any |
undefined |
For SelectOption & SelectOptionGroup, see Select
For other props, see Popover