Skip to content

Auto-generate field labels if none specified #37

@jmikrut

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions