[MGNLUI-6263] SwitchableField should only validate selected field Created: 01/Oct/20  Updated: 02/Oct/20  Resolved: 01/Oct/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Carlos Cantalapiedra Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLUI-6236 Validation triggers on non-active/not... Closed
causality
duplicate
duplicates MGNLUI-6236 Validation triggers on non-active/not... Closed
relation
is related to MGNLUI-3625 SwitchableField should only validate ... Closed
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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Description:

A switchable field which has several fields with required option should only validate that one selection has been done.

Steps to reproduce:

  1. Create a switchable field and remove the selected:true tag of the example, so no option is marked initially.
  2. Include the new component at the available components section of the Basic page (/mtk/templates/pages/basic.yaml)
  3. Create a Basic page and include the component in the step 1
  4. Check that even selecting an option, the validation fails

Workaround: N/A

Notes to DEVs: it happens using both, new and old UI syntax.



 Comments   
Comment by Carlos Cantalapiedra [ 01/Oct/20 ]

Duplicated 6236

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