When adding a new cash register, the focus is not on the first input field requiring an additional click. To test: - Turn on the UseCashRegisters system preference - Go to administration > cash registers - Click on 'new cash register' - Verify you can't type into the 'Name' input field without clicking into it first
Created attachment 139166 [details] [review] Bug 27802: Set cursor focus in first input when adding a cash register Test plan: 1. Visit Administration > Accounting > Cash registers and notice the cursor is not focussed in the first input field (Name) 2. Apply patch 3. Refresh the new cash registers page and confirm your cursor is focussed in the first input field (name) Sponsored-by: Catalyst IT, New Zealand
Created attachment 139413 [details] [review] Bug 27802: Set cursor focus in first input when adding a cash register Test plan: 1. Visit Administration > Accounting > Cash registers and notice the cursor is not focussed in the first input field (Name) 2. Apply patch 3. Refresh the new cash registers page and confirm your cursor is focussed in the first input field (name) Sponsored-by: Catalyst IT, New Zealand Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 139414 [details] [review] Bug 27802: Set cursor focus in first input when adding a cash register Test plan: 1. Visit Administration > Accounting > Cash registers and notice the cursor is not focussed in the first input field (Name) 2. Apply patch 3. Refresh the new cash registers page and confirm your cursor is focussed in the first input field (name) Sponsored-by: Catalyst IT, New Zealand Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 22.11. Nice work everyone, thanks!
Enhancement will not be included in the 22.05.x series