Skip to content

[mui-datepicker] add clearable button to input adornment #904

@LauRoxx

Description

@LauRoxx

Users are having issues adjusting to the new accessible 3-input date field, especially users who aren't used to the overwriting behavior. The current clear button is only available within the expanded calendar action bar. Adding a more visible clear button on the input level should help with the transition to this pattern.

Breaking Change

Current clear button within the action bar will need to be removed.

The corresponding onClear for the input adornment clear button is not available for the action bar clear button. We want to avoid diverging behaviors for each clear so the better solution is to remove the action bar clear button and only have one clear button.

We should be close enough to the next major version of mui (v9) that this can be done at the same time for only one major release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions