Skip to content

[Form] Restrict types for the label option for form fields #41970

@plandolt

Description

@plandolt

This is a follow up of #41717. There we allowed TranslatableMessage::class next to string and null for the form field option help. The form field option label does currently not have any restrictions for allowed types.

So the question would be: Should we restrict the allowed types for label to the same as for help?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions