Error icon isn't hidden when field becomes valid

Created on 20 April 2023, about 1 year ago
Updated 16 August 2023, 11 months ago

Problem/Motivation

See attached screenshots...

When a field is invalid, the error shows correctly. (red border, icon, and text). See initial-error.png

Once the validation is corrected, the red border and text disappear as expected, but the error icon still shows. See error-fixed.png

From the code (error-fixed-code.png), you'll see the display:none is set to the child element of the element that has the icon (the :before is the icon on .form-item--error-message).

Proposed resolution

Trigger "display:none" on the .form-item--error-message instead of it's child element.

πŸ› Bug report
Status

Closed: works as designed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States chucksimply

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

Comments & Activities

Production build 0.69.0 2024