feat(elements): Add support for signOutOfOtherSessions checkbox - #3779
feat(elements): Add support for signOutOfOtherSessions checkbox#3779alexcarpenter wants to merge 11 commits into
signOutOfOtherSessions checkbox#3779Conversation
🦋 Changeset detectedLatest commit: 0ba3550 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
signOutOfOtherSessions checkbpoxsignOutOfOtherSessions checkbox
signOutOfOtherSessions checkboxsignOutOfOtherSessions checkbox
|
Was about to merge but seems there's been some discussion internally; so I'll hold off clicking the green button until then |
| type: | ||
| | 'text' | ||
| | 'email' | ||
| | 'password' | ||
| | 'tel' | ||
| | 'number' | ||
| | 'date' | ||
| | 'time' | ||
| | 'datetime-local' | ||
| | 'month' | ||
| | 'week' | ||
| | 'otp'; |
There was a problem hiding this comment.
I thought i'd be able to make use of the ClerkInputType type here excluding checkbox, but that surfaced a bunch of type errors in FIELD.ADD and FIELD.UPDATE. Open to suggestions here.
type: Exclude<ClerkInputType, 'checkbox'>
There was a problem hiding this comment.
Honestly, I'm totally fine with this being explicit given we probably don't really want to support the entire set of HTMLInputTypeAttribute types.
|
Closing in favor of #3791 |
Description
Add support for checkbox input usage and
signOutOfOtherSessionsfunctionality in sign in password reset flowUsage:
https://linear.app/clerk/issue/SDKI-146/signin-reset-password-sign-out-of-all-other-devices-checkbox
Checklist
npm testruns as expected.npm run buildruns as expected.Type of change