style: allowed models ux

This commit is contained in:
jialin
2025-10-13 15:21:17 +08:00
parent 1fa2124efd
commit 663b6c7b4e
16 changed files with 218 additions and 102 deletions
@@ -39,7 +39,9 @@ const AllowModelsForm: React.FC = () => {
}}
render={(item) => item.title}
titles={['Available Models', 'Allowed Models']}
showSearch
showSearch={{
placeholder: 'Filter by model name'
}}
filterOption={(inputValue, item) =>
item.title.toLowerCase().includes(inputValue.toLowerCase())
}