We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
新增自动完成组件
value
string
placeholder
disabled
boolean
false
defaultValue
dataSource
string[] | AutoCompleteOption[] | #dataSource
clearable
size
'sm' | 'md' | 'lg'
sm
prefix
string | #prefix
suffix
string | #suffix
onBlur
() => void
onFocus
onSelect
(value: string) => void
onChange
export interface AutoCompleteOption { key: string; label: string; disabled: boolean; }
The text was updated successfully, but these errors were encountered:
New automatic completion component
Value
String
PlaceHolder
Disabled
bolean
DefaultValue
Datasource
Clearable
Boolean
Size
Onblur
onfocus
Onselect
onchange
Sorry, something went wrong.
value 支持 v-model
新增 controll, 所有表单组件都要实现这个 props
新增 open,支持 v-model
新增 target 和 overlayClassName
dataSource,应该对应 defualt 插槽
defualtValue 移除吧。
placeholder 不用支持全局配置吧,如果要给默认值,也应该是 i18n 去搞。
size 的默认值应该是 md ?
AutoCompleteOption 新增 value 属性
这个组件 可以使用 <IxSelect allowInput /> 来代替,所以不再单独实现 IxAutoComplete 组件
<IxSelect allowInput />
IxAutoComplete
danranVm
No branches or pull requests
What problem does this feature solve?
新增自动完成组件
What does the proposed API look like?
API
IxAutoComplete
AutoCompleteProps
value
string
placeholder
string
disabled
boolean
false
defaultValue
string
dataSource
string[] | AutoCompleteOption[] | #dataSource
clearable
boolean
false
size
'sm' | 'md' | 'lg'
sm
prefix
string | #prefix
suffix
string | #suffix
onBlur
() => void
onFocus
() => void
onSelect
(value: string) => void
onChange
(value: string) => void
The text was updated successfully, but these errors were encountered: