Page MenuHomePhabricator

Autofocus form control for adding TOTP codes
ClosedPublic

Authored by amckinley on Feb 7 2019, 7:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 3, 7:31 PM
Unknown Object (File)
Fri, May 30, 8:39 AM
Unknown Object (File)
Thu, May 29, 5:41 PM
Unknown Object (File)
Wed, May 28, 12:08 PM
Unknown Object (File)
Apr 28 2025, 9:33 PM
Unknown Object (File)
Apr 28 2025, 8:17 AM
Unknown Object (File)
Apr 27 2025, 5:28 PM
Unknown Object (File)
Apr 26 2025, 8:37 AM
Subscribers

Details

Summary

Ref D20122. This is something I wanted in a bunch of places. Looks like at some point the most-annoying one (autofocus for entering TOTOP codes) already got fixed at some point.

Test Plan

Loaded the form, got autofocus as expected.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

When forms load in an Ajax dialog, I think we autofocus the first input, but don't do that if dialogs load on standalone pages. I don't think this can hurt, at least.

This revision is now accepted and ready to land.Feb 7 2019, 7:48 PM
This revision was automatically updated to reflect the committed changes.