From 830bb157b5e46a6c041d5f0c0a883a22e37cb0f7 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 19 三月 2026 10:24:09 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/devlop-phyz-spring3.5' into devlop-phyz-spring3.5
---
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