Skip to content

Commit

Permalink
fix: add fullWidth to toggle form field of optionalNested form fields…
Browse files Browse the repository at this point in the history
… to not loose widht for the nested fields
  • Loading branch information
MFSepplive committed Jan 30, 2025
1 parent 4230fae commit a13a31f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/gold-paws-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@comet/cms-admin": patch
---

add fullWidth to toggle form field of optionalNested form fields to not loose width for the nested fields
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export function generateFormLayout({
/>
)}
</Field>
<Field name="${String(config.name)}Enabled" subscription={{ value: true }}>
<Field name="${String(config.name)}Enabled" fullWidth subscription={{ value: true }}>
{({ input: { value } }) =>
value ? (
<>
Expand Down

0 comments on commit a13a31f

Please sign in to comment.