Skip to content

Add toggle to control the display of the field's label #7

Description

@bobbingwide

There are times when the field's label doesn't need to be displayed.
For example Google map, which is pretty obvious.
And Event when, or Event calendar - which are also virtual fields - where the label should be different or not required.

Requirements

  • ISBAT indicate if the label and separator are required before the field's value.
  • When not required the label and separator should not be displayed.
  • The front end should display the results correctly
  • The block editor should do its best.

Proposed solution

  • Add a toggle to control the display of the label and separator - attribute: showLabel, default: true
  • Optionally allow the separator to be defined
  • Change the server side rendering to cater for the toggled field
  • Change the block's display to cater for the toggled field

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions