mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
714 B
714 B
Popselect
If you want select some options but don't want a picker, you can use popselect instead.
Demos
basic
size
scrollable
custom-width
multiple
V-model
Prop | Event |
---|---|
value | change |
Props
Name | Type | Default | Description |
---|---|---|---|
value | string | number |
null |
|
options | Array<SelectOption | SelectOptionGroup> |
[] |
|
scrollable | boolean |
false |
|
multiple | boolean |
false |
|
size | 'small' | 'medium' | 'large' |
'small' |
For SelectOption & SelectOptionGroup, see Select
For other props, see Popover
Events
Name | Parameters | Description |
---|---|---|
change | string | number | Array<string | number> | null |