Skip to content

Commit

Permalink
fix(core): update multiline field to respect required setting (#1329)
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-alexsaiannyi committed Sep 6, 2024
1 parent d3df74f commit ad601e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tricky-jokes-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/catalyst-core": patch
---

update multiline form-field to respect required settings
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const MultilineText = ({
id={`field-${field.entityId}`}
onChange={onChange}
onInvalid={onChange}
required
required={field.isRequired}
rows={field.rows}
/>
</FieldControl>
Expand Down

0 comments on commit ad601e1

Please sign in to comment.