Skip to content

Auto-generate field labels if none specified #37

Closed

Description

@jmikrut

Feature Request

Auto-generate field labels based on the field's name. Allow for labels to be disabled by passing false to the label field property.

Use-Case

It gets a bit tedious to specify field labels over and over, when the name of the field could probably be used and formatted properly to generate a field label automatically.

By generating field labels automatically during field sanitization, there will be less configuration necessary by the developer.

Additional Detail

We need to make sure to adjust the field schema validation and field type(s) to support either strings or booleans to be passed to the label property of all fields that support labels.

We also need to make sure to update Field documentation with the corresponding API changes.

Activity

  1. added
    enhancement
    on Jan 25, 2021
  2. locked and limited conversation to collaborators on Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions