Skip to content

feat(tools): restore focus to last used input after form submit#452

Merged
natsuki615 merged 1 commit into
sc0v:masterfrom
tomas-goncalves:feat/tool-checkout-keep-status
Apr 12, 2026
Merged

feat(tools): restore focus to last used input after form submit#452
natsuki615 merged 1 commit into
sc0v:masterfrom
tomas-goncalves:feat/tool-checkout-keep-status

Conversation

@tomas-goncalves
Copy link
Copy Markdown
Contributor

After submitting the tool barcode, participant search, or checkin barcode forms, focus returns to the input that was just used rather than always defaulting to the checkout barcode field.

Each form passes a focus param through the redirect (whitelisted in the controller). The view applies autofocus conditionally based on that param. No JS required.

@natsuki615 natsuki615 merged commit f1674e2 into sc0v:master Apr 12, 2026
1 check failed
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.

2 participants