Skip to content

Set length hints on the juicebox PIN login field - #130

Closed
SilverBirchh wants to merge 1 commit into
mainfrom
login-pin-length
Closed

Set length hints on the juicebox PIN login field#130
SilverBirchh wants to merge 1 commit into
mainfrom
login-pin-length

Conversation

@SilverBirchh

Copy link
Copy Markdown
Contributor

Sets MinLength/MaxLength to 4 on the juicebox PIN field so clients can cap the input instead of silently disabling submit when a fifth digit is typed (beeper DESK-23336).

Depends on the mautrix-go change adding those fields to LoginInputDataField: https://github.com/SilverBirchh/go/tree/login-field-length. Needs a go.mod bump once that merges.

Lets clients cap the PIN input at 4 digits instead of silently disabling
submit when a 5th digit is typed. Needs the mautrix-go change that adds
MinLength/MaxLength to LoginInputDataField.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant