Material-ui-pickers: Change copy "Invalid Date Format" for KeyboardDatePicker

Created on 12 Nov 2019  路  6Comments  路  Source: mui-org/material-ui-pickers

Is there a feature where we can change the copy of this error message Invalid Date Format or just hide it?
image
for KeyboardDatePicker: https://material-ui-pickers.dev/api/KeyboardDatePicker
Thanks!!

Most helpful comment

thanks @dmtrKovalenko !

       <KeyboardDatePicker
              helperText={''} />

All 6 comments

What do you mean by copy?

@dmtrKovalenko copy === text

thanks @DoWhileGeek!

Is there a feature where we can change the text of this error message Invalid Date Format or just hide it?

any idea @dmtrKovalenko ?
Thanks for your help!

Just pass a prop helperText it will change the message. Also error prop will render red error state. The same as core mui input

thanks @dmtrKovalenko !

       <KeyboardDatePicker
              helperText={''} />
Was this page helpful?
0 / 5 - 0 ratings

Related issues

dandv picture dandv  路  3Comments

mnemanja picture mnemanja  路  3Comments

Harasz picture Harasz  路  3Comments

idrm picture idrm  路  3Comments

harvitronix picture harvitronix  路  3Comments