Skip to content

Change the layout config visible property to hide both the layout and the component #3729

@cofiem

Description

@cofiem

Currently the form config properties layout.config.visible and component.config.visible show and hide only the parts they are responsible for. This may have some use cases, but they are unusual, and it makes it more work to do the usual use case of hiding both the layout and component.

Change the layout.config.visible property to also hide the component.
The changes are mainly in the layout components: https://github.com/redbox-mint/redbox-portal/tree/feature/ng19-forms/angular/projects/researchdatabox/form/src/app/component

This change will remove the ability to hide the layout and show the component.
If we want this functionality, we'll need to assess the best way to implement it: likely via new config properties in layout.config.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions