When you click on the tab key, the focus is set on the next field. When the field is in readonly mode, there is not interest to be focused on. In this case, the focus should be placed on the next field 'writable'.
Open Sales Order window, create a new record and save. The Document field is not writable. Then, change the organization and click on tab. Focus is set on DocumentNo. It would be better to set the focus on Reference
Regards,
Nicolas
Environment
None
Activity
Show:
Carlos Ruiz February 13, 2020 at 12:08 AM
Hi , I splitted the commit for this ticket in two pieces:
About the second commit https://github.com/idempiere/idempiere/commit/e456d65 I pushed it just to master because it is more disruptive. The change to avoid focusing a read-only field with the tab key navigation is to set it to disabled, not just read-only. But changing the field to disabled requires changes in theme. I implemented the change to textboxes and numeric fields and the change in theme is OK. But implemented the same on date fields and they look too pale, didn't find the right change on the theme to show them more obscure.
Hi,
When you click on the tab key, the focus is set on the next field.
When the field is in readonly mode, there is not interest to be focused on.
In this case, the focus should be placed on the next field 'writable'.
Open Sales Order window, create a new record and save.
The Document field is not writable.
Then, change the organization and click on tab. Focus is set on DocumentNo. It would be better to set the focus on Reference
Regards,
Nicolas