Skip to content

Commit

Permalink
fix(ui): string field textarea accidentally readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
psychedelicious committed Jan 17, 2025
1 parent eea5ecd commit a6b207a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ const StringFieldInputComponent = (props: FieldComponentProps<StringFieldInputIn
);

if (fieldTemplate.ui_component === 'textarea') {
return (
<Textarea className="nodrag" onChange={handleValueChanged} value={field.value} rows={5} resize="none" readOnly />
);
return <Textarea className="nodrag" onChange={handleValueChanged} value={field.value} rows={5} resize="none" />;
}

return <Input className="nodrag" onChange={handleValueChanged} value={field.value} />;
Expand Down

0 comments on commit a6b207a

Please sign in to comment.