mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-06 06:48:21 +00:00
Fix required indicator
This commit is contained in:
parent
fdd6e0ee2d
commit
4d1e28891f
2 changed files with 3 additions and 1 deletions
|
|
@ -387,6 +387,7 @@ const DynamicFormV2 = ({
|
|||
workspaceVariables,
|
||||
workspaceConstants: currentOrgEnvironmentConstants,
|
||||
isEditing: isEditing,
|
||||
labelDisabled: false,
|
||||
};
|
||||
}
|
||||
case 'react-component-headers': {
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ const CommonInput = ({ label, helperText, disabled, required, onChange: change,
|
|||
isDisabled,
|
||||
isEditing,
|
||||
handleEncryptedFieldsToggle,
|
||||
labelDisabled,
|
||||
} = restProps;
|
||||
|
||||
const InputComponentType = type === 'number' ? NumberInput : TextInput;
|
||||
|
|
@ -55,7 +56,7 @@ const CommonInput = ({ label, helperText, disabled, required, onChange: change,
|
|||
<div className="d-flex">
|
||||
{label && (
|
||||
<div className="tw-flex-shrink-0">
|
||||
<InputLabel disabled={disabled} label={label} required={required} />
|
||||
<InputLabel disabled={labelDisabled ?? disabled} label={label} required={required} />
|
||||
</div>
|
||||
)}
|
||||
{type === 'password' && (
|
||||
|
|
|
|||
Loading…
Reference in a new issue