-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[comp: select] add select component #212
Comments
showSuffix 跟 suffix 可以合并只用showSuffix, 配置为true就用默认的,false隐藏,string等配置自定义; |
compareWith看否用idfields代替会更好。。 |
size这个定义成设置大小有点懵逼,注解改下。。 |
有几个业务场景如何实现:
|
|
支持 string | fn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem does this feature solve?
What does the proposed API look like?
ix-select
SelectProps
v-model:value
control
string|AbstractControl
control
时, 控件将由AbstractControl
完全控制,此时value
会失效disabled
boolean
false
options
SelectOptionItem[]
compareWith
option
的值是否相同(o1: any, o2: any) => boolean
(o1: any, o2: any) => o1 === o2
option
的为对象的情况multiple
boolean
false
autofocus
boolean
false
clearable
boolean
false
borderless
boolean
false
dropdownClassName
string
searchable
boolean
false
filterOption
boolean | (searchValue: string, option: IxOptionComponent) => boolean
true
true
时使用defaultFilterOption
, 如果使用远程搜索,应该设置为false
loading
boolean
placeholder
string
suffix
string | v-slot:suffix
down
,多选默认为false
size
large | medium | small
medium
v-model:open
boolean
false
SelectEmits
change
(value: any) => void
search
(searchValue: string) => void
clear
(evt: MouseEvent) => void
openChange
(isOpen: boolean) => void
scrollToBottom
() => void
focus
() => void
blur
() => void
SelectSlots
default
customLabel
dropdownExtra
ix-option
OptionProps
label
string
value
any
disabled
boolean
false
OptionSlots
default
ix-option-group
OptionGroupProps
label
string
OptionSlots
default
The text was updated successfully, but these errors were encountered: