[MGNLUI-8155] "This field is required” message persists on pageLinkField Created: 03/Jul/23  Updated: 28/Jul/23  Resolved: 25/Jul/23

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.36
Fix Version/s: 6.3.0, 6.2.37

Type: Bug Priority: Neutral
Reporter: Carlos Cantalapiedra Assignee: Adam Siska
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 3h Time Spent: 3h
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Problem/Incident
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLUI-8225 Implementation Sub-task Completed Adam Siska  
MGNLUI-8226 Code review Sub-task Completed Quach Hao Thien  
MGNLUI-8227 Preint QA Sub-task Completed Quach Hao Thien  
MGNLUI-8228 QA Sub-task Closed Antonín Juran  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Release notes required:
Yes
Date of First Response:
Sprint: Nucleus 41
Story Points: 3
Team: Nucleus
Work Started:
Approved:
Yes

 Description   

Steps to reproduce

  1.  Create a component which has a pageLinkField as follows:
    pageLink:
      $type: pageLinkField
      showOptions: true
      textInputAllowed: true
      required: true
    
  2.  Try to save the dialog and check that the message "This field is required" appears
  3. Use the Select button to select a page
  4. Check the message disappears
  5. Delete the selection and check the message is shown again
  6. Use the dropdown to select a page
  7. Check the message persists
  8. Tho the field shows the error, the dialog can be saved

Expected results

The message is also removed when a page is selected through the dropdown

Actual results

The message only disappears if the page is selected through the "Select" button

Workaround

N/A

Development notes

N/A


Generated at Mon Feb 12 09:52:37 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.