Skip to content

Commit

Permalink
Improve clarity and use alerts to draw attention
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasTy committed Jul 12, 2024
1 parent d7956d0 commit 1b086a5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/data/date-pickers/date-picker/date-picker.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,19 @@ You can show a helper text with the date format accepted:

## Clearing the value

You can enable the clearable behavior using the DesktopDatePicker variant:
You can enable the clearable behavior:

{{"demo": "ClearableProp.js"}}

The clearable prop is not supported by the mobile variant. See discussion [in this GitHub issue](https://github.com/mui/mui-x/issues/10842#issuecomment-1951887408) for more information.
:::info
See [Field components—Clearable behavior](/x/react-date-pickers/fields/#clearable-behavior) for more details.
:::

:::warning
The clearable prop is not supported yet by the mobile Picker variants.

See discussion [in this GitHub issue](https://github.com/mui/mui-x/issues/10842#issuecomment-1951887408) for more information.
:::

## Localization

Expand Down

0 comments on commit 1b086a5

Please sign in to comment.