[MGNLUI-4871] Show when validator fails in link field Created: 04/Dec/18 Updated: 25/Oct/23 |
|
| Status: | Open |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 6.0 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Pierre Sandrin | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | ux | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Magnolia 6.0 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Description |
|
When a (custom) validator is added to a link field and the field value is not valid, the UI does not show it. Only when you hover on the field a tooltip appears. This leads to the situation that the editor cannot save the form but does not know where the problem is. (Which field fails) If a validator fails on a text field, a red border is indicating that the field not valid. This should also work for link fields. I also attached our custom validator (MimeTypeValidator) and the dialog definition of the respective field. |