Do not hide elements with a field dependency in edit mode

Found in

EPiServer.Forms 4.28.0

Fixed in

EPiServer.Forms 4.28.0

Created

Mar 09, 2020

Updated

Apr 03, 2020

Area

Validation for elements

State

Closed, Fixed and tested


Description

This bug is related to https://jira.ep.se/browse/AFORM-2479, which hides elements with a field dependency. In edit mode, we should not hide elements with a field dependency.

Steps to reproduce:
1. Create a form with some elements.
2. Configure the form to have a field dependency.

Expected:
It shows all elements in edit mode.

Actual:
It hides elements with a field dependency in edit mode.