Skip to content

Widget: Coerce integer types to interger in fromTemplate #7560

Description

@Rathoz

Is your feature request related to a problem? Please describe.
Needing tonumber validation and manually using the defaultProps fallback for a widget to be supported for calling from a template is neither good nor intended.

Describe the solution you'd like
Widget calls from Template must natively handle the string -> integer coercion without runtime code in the widget itself. Preferbly add string -> boolean too.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions