element ui
import Element from 'element-ui'
Element.Select.props.filterable={
type: Boolean,
default: true
};
ant
import {Select} from 'ant-design-vue'
Select.props.showSearch.default = true
Select.props.filterOption.default = () => {
return (input, option) => {
return (
option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
)
}
}