When submitting a form which contains vertical tabs (such as adding node content), several of which have required fields, the last tab with an error state is given focus.
The first tab with an error state should be given focus.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2931402_focused_on_last_tab_instead_first.patch | 1008 bytes | qzmenko |
Comments
Comment #2
qzmenkoPatch attached
Comment #3
qzmenkoAny reviews?
Comment #4
Vidushi Mehta commented@qzmenko It would be good if you could attach a highlighting screenshot of the problem. Could not able to reproduce this.
Thanks
Comment #5
swentel commentedWill test in a bit, looks pretty cool!
Comment #6
nils.destoop commentedThx for the patch. I reviewed it, but I'm tweaking it a bit, as your version targets all tabs on a page. So it breaks when you have multiple tabs groups on a page.
Comment #8
nils.destoop commentedThe fix is committed to dev.