From 12d9f4e03c0331efc9a656356e78b9f314639707 Mon Sep 17 00:00:00 2001
From: 1 <1@123>
Date: 星期三, 18 三月 2026 17:07:57 +0800
Subject: [PATCH] lsh#

---
 rsf-admin/src/page/components/StatusSelectInput.jsx |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/rsf-admin/src/page/components/StatusSelectInput.jsx b/rsf-admin/src/page/components/StatusSelectInput.jsx
index 11031ca..c1178e6 100644
--- a/rsf-admin/src/page/components/StatusSelectInput.jsx
+++ b/rsf-admin/src/page/components/StatusSelectInput.jsx
@@ -2,6 +2,7 @@
     SelectInput,
     required,
     useTranslate,
+    AutocompleteInput
 } from 'react-admin';
 
 const StatusSelectInput = (props) => {
@@ -9,7 +10,7 @@
     const translate = useTranslate();
 
     return (
-        <SelectInput
+        <AutocompleteInput
             label={translate('common.field.status')}
             source="status"
             validate={[require && required()]}
@@ -19,6 +20,14 @@
             ]}
             defaultValue={defaultValue}
             helperText={false}
+            options={{
+                ListboxProps: {
+                    style: {
+                        maxHeight: '200px',
+                    }
+                },
+                ...(rest.options || {})
+            }}
             {...rest}
         />
     )

--
Gitblit v1.9.1