Skip to content

Customizing @material-ui TextWidget requires me to customize ALL of the TextWidget wrapped widgets #2512

@heath-freenome

Description

@heath-freenome

Prerequisites

Description

Unlike the core wrappers around BaseInput (i.e. EmailWidget, PasswordWidget, etc) which pull the BaseInput component out of the registry.widgets object, the ones for material-ui instead directly import the TextWidget from the source code hierarchy. As a result, because I've created a custom extension of the TextWidget I now need to create custom replacements for ALL of the TextWidget wrappers (i.e. EmailWidget, PasswordWidget, etc).

If the material-ui implementation were to pull the TextWidget from the registry (like core does) instead of directly importing it, then I would not need to override every one of the TextWidget wrappers myself.

Version

v3.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions