-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Web UI
-
Tags:
-
Backlog priority:600
We need to move the "focus on invalid widget" validation logic, introduced in NXP-25935, to nuxeo-layout. This will allow layouts other than <doctype>-edit to leverage this feature and promote consistency.
Based on the HTML form validation specs, we should uniformize the static vs interactive validation, by considering the following approaches:
1) always focusing the invalid element on the validate method of nuxeo-layout, thus making this an "interactive validation" method, which is exactly what reportValidity does.
2) make the validate method of nuxeo-layout do static validation only, like what checkValidity does, and create a separate method to do interactive validation.
- depends on
-
NXP-25935 Improve form layouts feedback UX on errors
- Resolved
- duplicates
-
ELEMENTS-859 Form loses focus at the second opening
- Resolved
-
NXP-27448 Button Forms are not applying autofocus
- Resolved
- is related to
-
ELEMENTS-770 Required nuxeo-directory-suggestion differs in look and feel
- Open