Skip to content

Component Boolean variables #84

@rjewson

Description

@rjewson

Problem or motivation

Components would be more useful if they could have boolean variables to control optional elements. An obvious use case would be to control visibility of some part of the component.

Alternatively for this specific usecase, it would be acceptable to have an new 'Conditional visibility' option that allowed you to select a variable and some condition e.g. 'has content' or 'has no content'

Proposed solution

New conditional visibility option using component variables would probably be good enough

Alternatives considered

No response

Area

Visual Editor

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions