Project

General

Profile

Actions

Defect #34580

closed

Custom field labels do not contain class "error" when the field value is invalid

Defect #34580: Custom field labels do not contain class "error" when the field value is invalid

Added by Marius BĂLTEANU almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
Resolution:
Fixed
Affected version:

Description

When the form contains invalid field values, the class "error" is added only to standard fields. We should add it also to custom fields in order to be able to highlight those fields (#32764).

The attached patch fixes this.


Files


Related issues 1 (0 open — 1 closed)

Related to Redmine - Feature #32764: Make form validation errors more obvious for users ClosedGo MAEDAActions

Updated by Marius BĂLTEANU almost 6 years ago Actions #2

  • Subject changed from Custom field labels doesn't contain class "error" when the field value is invalid to Custom field labels do not contain class "error" when the field value is invalid

Updated by Go MAEDA almost 6 years ago Actions #3

  • Related to Feature #32764: Make form validation errors more obvious for users added

Updated by Go MAEDA almost 6 years ago Actions #4

  • Status changed from New to Confirmed

Updated by Go MAEDA almost 6 years ago Actions #5

  • Status changed from Confirmed to Closed
  • Target version deleted (Candidate for next major release)
  • Resolution set to Fixed

Committed as a part of #32764. Thank you.

Updated by Marius BĂLTEANU almost 6 years ago Actions #6

  • Target version set to 4.2.0

We should keep this in Changelog because there were some changes regarding how the validation messages are stored in the object.

Actions

Also available in: PDF Atom