mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-11-29 18:58:26 +08:00
fix(client): use children component when nullable is false (#5746)
This commit is contained in:
parent
2e3cbd160d
commit
4235b845d8
@ -460,7 +460,7 @@ export function Input(props: VariableInputProps) {
|
||||
</div>
|
||||
) : (
|
||||
<div style={{ flex: 1 }}>
|
||||
{children && isFieldValue ? (
|
||||
{children && (isFieldValue || !nullable) ? (
|
||||
children
|
||||
) : ConstantComponent ? (
|
||||
<ConstantComponent
|
||||
|
Loading…
Reference in New Issue
Block a user