-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.10 EE GA1, 6.2.X EE, Master
-
Fix Version/s: 6.2.X EE, 7.0.0 DXP FP26, 7.0.X EE, 7.0.4 CE GA5, 7.1.X, Master
-
Component/s: Frontend Infrastructure
-
Branch Version/s:7.0.x, 6.2.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:3
-
Git Pull Request:
Description for ee-6.2.x
When using custom error message for auto fields, the custom error message is not replicated for newly added fields
description for master
auto_fields.js behaves strangely:
- -custom validator is not called when field is empty
error messages are multiplied (1 for the first field, two for the second, three for the third, etc)this issue disappeared- the custom error message is not replicated for newly added fields: THIS FIX FIXES ONLY THIS ISSUE
steps to reproduce
- Deploy the attached portlet
It is a pure view.jsp file which creates a form and instantiate auto fields for the only input field
with a custom error message. The erro should be fired when the input is empty - put it onto a page
- Leave the input field empty and press TAB button (on master, write something into the input field and press TAB)
- notice the custom error message
- Add a new field with the "+" button
- Repeat the step
- Consider the default error message (two error messages on master)
- relates
-
LPE-16002 Auto fields custom message is not replicated when adding fields
-
- Closed
-