feat(maas-provider): allow clearing the model AutoComplete

This commit is contained in:
jialin
2026-07-20 20:24:28 +08:00
committed by jialin
parent c3bdbc200e
commit ba0b2bb2c3
@@ -177,6 +177,7 @@ const ModelItem: React.FC<ModelItemProps> = ({
<span> <span>
<AutoComplete <AutoComplete
loading={loading} loading={loading}
allowClear
showSearch={{ showSearch={{
filterOption: (inputValue, option: any) => { filterOption: (inputValue, option: any) => {
return ( return (