fix: SelectPanel props

This commit is contained in:
jialin
2026-05-18 13:28:52 +08:00
committed by jialin
parent bf09784fad
commit d04604abe5
@@ -131,11 +131,11 @@ const AllowModelsForm: React.FC<{
id: 'common.filter.name'
})}
options={modelList}
selectedKeys={allowedModelNames || []}
value={allowedModelNames || []}
notFoundContent={intl.formatMessage({
id: 'apikeys.models.noModelsFound'
})}
onSelectChange={(selectedKeys) => {
onChange={(selectedKeys) => {
form.setFieldsValue({ allowed_model_names: selectedKeys });
onValuesChange?.(
{ allowed_model_names: selectedKeys },