Page MenuHomePhabricator

Autofocus form control for adding TOTP codes
ClosedPublic

Authored by amckinley on Feb 7 2019, 7:37 PM.
Tags
None
Referenced Files
F15557428: D20128.id48050.diff
Mon, Apr 28, 9:33 PM
F15554734: D20128.id48048.diff
Mon, Apr 28, 8:17 AM
F15551574: D20128.id.diff
Sun, Apr 27, 5:28 PM
F15545030: D20128.diff
Sat, Apr 26, 8:37 AM
F15537194: D20128.id48050.diff
Thu, Apr 24, 12:56 PM
F15531062: D20128.id48048.diff
Wed, Apr 23, 9:24 AM
F15514187: D20128.diff
Fri, Apr 18, 1:00 AM
F15512797: D20128.id.diff
Thu, Apr 17, 1:56 PM
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.