Problem/Motivation
When configuring the role based timeouts, if the "Enable Role based timeout" option is checked, all the role specific timeout value fields become required. This results in the "An invalid form control with name='[role id]' is not focusable." error in the console when trying to submit the form if the settings for one or more roles are not set.
This is caused because the hidden (display: none) fields are marked as required.
An easy solution for this would be to check if the specific role option was checked on top of the current check for the role based timeout option.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | invalid-form-control-3480768-2.patch | 441 bytes | siemen_hermans |
Comments
Comment #2
siemen_hermans commentedProvided is a patch to resolve the issues as suggested