Fix 'hidden' display region handling

Created on 4 July 2023, over 1 year ago
Updated 12 October 2023, about 1 year ago

Problem/Motivation

If a field's display settings (form or view) include 'region: hidden', the component should be hidden. However currently it is moved to the hidden region, but with display settings, which weirdly shows the field in the entity form/view.

Proposed resolution

Attached patch uses the removeComponent() method instead of setComponent() if region is set to 'hidden' in the display config.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada bgilhome Victoria

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024