Skip to content

Commit

Permalink
fix(form-builder): make text field readOnly instead of disabled for r…
Browse files Browse the repository at this point in the history
…eadOnly date inputs
  • Loading branch information
bjoerge committed Jun 7, 2021
1 parent c761aee commit c8313f1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -106,7 +106,7 @@ export const CommonDateTimeInput = React.forwardRef(function CommonDateTimeInput
inputId={id}
>
{readOnly ? (
<TextInput value={inputValue} disabled />
<TextInput value={inputValue} readOnly />
) : (
<DateTimeInput
{...rest}
Expand Down

0 comments on commit c8313f1

Please sign in to comment.