fix(client): fix variable input style when disabled (#3071)
This commit is contained in:
parent
c81fb46071
commit
e0c7d09cab
@ -332,7 +332,6 @@ export function Input(props) {
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
{options.length > 1 && !disabled ? (
|
||||
<Cascader
|
||||
options={options}
|
||||
value={variable ?? ['', ...(children || !constantOption.children?.length ? [] : [type])]}
|
||||
@ -340,6 +339,7 @@ export function Input(props) {
|
||||
loadData={loadData as any}
|
||||
changeOnSelect={changeOnSelect}
|
||||
fieldNames={fieldNames}
|
||||
disabled={disabled}
|
||||
>
|
||||
{button ?? (
|
||||
<XButton
|
||||
@ -350,7 +350,6 @@ export function Input(props) {
|
||||
/>
|
||||
)}
|
||||
</Cascader>
|
||||
) : null}
|
||||
</Space.Compact>,
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user