fix(clerk-js): Initialize default role with form controls#4281
fix(clerk-js): Initialize default role with form controls#4281LauraBeatris merged 3 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: 6a0e07a The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
7119b0f to
6e9c3bf
Compare
b5a0fd1 to
6a0e07a
Compare
|
Hi, thanks for fixing this! I see that How does this reach |
Hi @FranciscoMoretti! We haven't deployed this change to our CDN workers yet, so this is not fully released. For further context, |
|
@FranciscoMoretti It's deployed now, you will see the latest fix on your app! |
|
@LauraBeatris thank you so much for the detailed explanation and update! 💯 |
Description
Fixes issue where "Send invitation" button is getting disabled even tho there's a default role loaded:
CleanShot.2024-10-03.at.17.33.17.mp4
The issue relies on the fact that we're overriding the
field.valueproperty when rendering it, instead of passing it to the form controls state:CleanShot.2024-10-03.at.17.31.11.mp4
Checklist
npm testruns as expected.npm run buildruns as expected.Type of change