Skip to content

AutoComplete 自动生成

规则

js
{
    type: "autoComplete",
    title: "自动完成",
    field: "auto",
    value: "xaboy",
    inject: true,
    props: {}
}
{
    type: "autoComplete",
    title: "自动完成",
    field: "auto",
    value: "xaboy",
    inject: true,
    props: {}
}

参考:arco-design_AutoComplete

value :String

Props

参数名描述类型默认值版本
disabled是否禁用booleanfalse
data用于自动提示的数据Option[][]
popup-container弹出框的挂载容器string | HTMLElement | null | undefined-
strict是否为严格校验模式booleanfalse
filter-option自定义选项过滤方法FilterOptiontrue
trigger-propstrigger 组件属性object-2.14.0

Events

事件名描述参数
change绑定值发生改变时触发value: string
search用户搜索时触发value: string
select选择选项时触发value: string

Released under the MIT License.