auto-form icon indicating copy to clipboard operation
auto-form copied to clipboard

fix(BooleanField): add defaultChecked prop

Open itishermann opened this issue 10 months ago • 2 comments

This pull request includes a small change to the BooleanField component in the packages/shadcn/src/components/ui/autoform/components/BooleanField.tsx file. The change ensures that the checkbox is set to its default checked state based on the field.default value.

  • packages/shadcn/src/components/ui/autoform/components/BooleanField.tsx: Added defaultChecked attribute to set the checkbox's default state based on field.default.

itishermann avatar Feb 26 '25 10:02 itishermann

⚠️ No Changeset found

Latest commit: 689dd07f947fc660006782d545beb3651ce93b03

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Feb 26 '25 10:02 changeset-bot[bot]

@itishermann is attempting to deploy a commit to the vantezzen Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Feb 26 '25 10:02 vercel[bot]