mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-07 07:45:04 +00:00
better default focus selection
we do not want to focus on hidden/disabled fields, because that focus gets lost and prevents some things e.g. cancelling with ESC Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
880df5d504
commit
5d3089cd94
@ -34,7 +34,7 @@ Ext.define('Proxmox.window.Edit', {
|
||||
defaultButton: 'submitbutton',
|
||||
|
||||
// finds the first form field
|
||||
defaultFocus: 'field',
|
||||
defaultFocus: 'field[disabled=false][hidden=false]',
|
||||
|
||||
showProgress: false,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user