Commit Graph

18 Commits

Author SHA1 Message Date
ItzNotABug bdadff63a0 fix: reset auto-submit on clear. 2024-09-19 17:10:30 +05:30
ItzNotABug 5248d9cc30 remove: unused imports. 2024-09-19 16:57:36 +05:30
ItzNotABug 8e9dc9f6f8 update: point fix at correct place. 2024-08-30 16:52:18 +05:30
ItzNotABug 63f2e421b4 ran: formatter. 2024-08-27 13:30:44 +05:30
ItzNotABug 865c03f044 fix: automatic wipe and field focus on submission. 2024-08-15 16:31:11 +05:30
ItzNotABug d8b5d3a0d8 fix: mfa digits losing focus. 2024-08-14 19:46:07 +05:30
Steven Nguyen fdb9795525 fix(elements): fix InputDigits undefined element error
If the InputDigits component is removed, the element will be undefined
but the onValueChange callback may still trigger. This change ensures
an element is found to prevent calling querySelector on undefined.
2024-05-16 11:11:58 -07:00
Steven Nguyen 3e7eb80229 fix(elements): allow InputDigits to auto submit again
If a user inputs an incorrect code, deletes what they put, and then
enters a different code, the InputDigits component should auto submit
again if autoSubmit is true.
2024-05-16 11:11:58 -07:00
Steven Nguyen 018c9b7f65 fix(mfa): fix value not updating when autoSubmit is false 2024-05-01 15:38:11 -07:00
Steven Nguyen 125632728b feat(elements): add autoSubmit bool to InputDigits
By default, InputDigits will auto submit unless autoSubmit is set to false.
2024-04-22 15:41:34 -07:00
Steven Nguyen e9204f3550 fix(elements): update InputDigits to be more mobile-friendly
Make the size smaller on mobile and set keyboard type to numeric.
2024-04-22 12:24:53 -07:00
Torsten Dittmann e848d77122 fix: linter 2024-02-27 20:17:50 +01:00
Torsten Dittmann e40452dd3f fix: input 2024-02-27 20:17:50 +01:00
Matej Bačo 43896ea044 Fix code ql 2024-02-27 20:17:50 +01:00
Matej Bačo 7f02b409ad Fix autofocus issue 2024-02-27 20:17:50 +01:00
Matej Bačo 38e82bd8e3 Only submit 2FA automatically once 2024-02-27 20:08:51 +01:00
Matej Bačo fa1050d02d Add auto-submit logic 2024-02-27 20:08:51 +01:00
Torsten Dittmann 1d942975d1 fix: mfa 2024-02-14 17:52:40 +00:00