Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-27008

Name field validation is triggered when cancelling entry creation in non-popup forms that have inline validation

XMLWordPrintable

      In regular expressions and icon mapping forms (where inline validation is introduced but forms are not opened as popups), when creating a new entry and clicking "Cancel" button without clicking anywhere else, inline validation is triggered for name field. Easier to see with 3G throttling.

      Example: regex_cancel.mp4

      Steps to reproduce:

      1. In your browser set throttling to 3G (Developer tools -> Network -> change "No throttling" to 3G)
      2. Open Administration -> General -> Regular expressions
      3. Create new regular expression (click New regular expression)
      4. Click Cancel

      Result: inline validation for name field is triggered, error message "This field cannot be empty." is shown until the form closes
      Expected: form closes with no errors

      In the moment of this task creation (19.09.2025) neither regular expression nor icon mapping inline validation were merged into master, but this scenario was reproduced on both branches where the inline validation is introduced.

            zabbix.dev Zabbix Development Team
            ssmildzina Sanija Smildzina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: