Closed alexcarpenter closed 3 months ago
Latest commit: bae2d368daf51ccd49f287540ee280f2c06326b1
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Description
Only render input error border and ring when in an error state, not when
data-invalid
which is trigged when an input is required.BEFORE:
https://github.com/clerk/javascript/assets/825855/03cac767-cd68-404a-8f18-ead8f73bff60
AFTER:
https://github.com/clerk/javascript/assets/825855/7ebe6706-0075-4eff-952e-c2b99f940a6e
https://linear.app/clerk/issue/SDKI-57/remove-data-invalid-styling-from-fields
Checklist
npm test
runs as expected.npm run build
runs as expected.Type of change