An invalid form control with name='[role id]' is not focusable.

Created on 15 October 2024, about 1 month ago

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.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇧🇪Belgium siemen_hermans

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024