-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
7.4.0beta1 (master)
Problem description: Different types of errors are triggered inconsistently for Tags field in host configuration form:
In case if a user creates a duplicate tag, the error will not be shown until the focus is moved to another field. But in case if user removes the value in tag "Name" field, the inline error will be shown straight after the last symbol is deleted, without even removing focus from the input element.
Steps to reproduce:
- Create a host with the following tag: Name = "AA", Value = "BB".
- Edit the configuration of this host and open Tags tab.
- Add another with Name = "AA", Value = "BB" without removing focus from Value field.
- Notice that inline validation error is not triggered.
- Focus back to name field (error is triggered), remove one letter "A" from tag name and wait for the error to disappear.
- Put the letter "A" back, to make the tags duplicate again - do not remove focus from Name field.
- Notice that inline validation error is not triggered.
- Delete the value of field Name for the duplicate tag - do not remove focus from Name field.
Result: The inline error is triggered as soon as the last symbol is removed from Name field.
Expected: Same as in the case with duplicate tags, the empty tag name error should not be triggered until the focus is removed from Name field.