- Affected version
- 2.3.13
Put a required text input on the first tab of a tabbed form. Leave it empty, switch to the second tab, and click Save. The browser blocks submission without a visible validation message.
XF.FormInputValidation tries to scroll to the invalid input while its tab pane is hidden with display: none. One fix is to call XF.Tabs.activateTab() for the pane containing the first invalid field during the invalid event, so the browser can focus the field and show its validation message.
XF.FormInputValidation tries to scroll to the invalid input while its tab pane is hidden with display: none. One fix is to call XF.Tabs.activateTab() for the pane containing the first invalid field during the invalid event, so the browser can focus the field and show its validation message.