プロジェクト

全般

プロフィール

Vote #81221

完了

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

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
UI_10
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
10
version_id:
152
issue_org_id:
34580
author_id:
107353
assigned_to_id:
0
comments:
6
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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.


journals

All tests pass: https://gitlab.com/redmine-org/redmine/-/pipelines/239464521
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed as a part of #32764. Thank you.
--------------------------------------------------------------------------------
We should keep this in Changelog because there were some changes regarding how the validation messages are stored in the object.
--------------------------------------------------------------------------------


related_issues

relates,Closed,32764,Make form validation errors more obvious for users

Admin Redmine さんが4年以上前に更新

  • カテゴリUI_10 にセット
  • 対象バージョン4.2.0_152 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0