Material-ui-pickers: How to render with empty value?

Created on 22 Dec 2017  路  4Comments  路  Source: mui-org/material-ui-pickers

Hello, I don't want to suggest anything to my user.

How can I show an empty field? Can be just blank or with a placeholder like 'choose a date'.

I tried empty string and null but both don't work.

Thanks.

question

Most helpful comment

null works fine for me, just use value={null}

All 4 comments

Thanks, done! :)

In the latest versions, the message "Invalid date format" was displayed again.

null works fine for me, just use value={null}

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sakulstra picture sakulstra  路  3Comments

nicky-dev picture nicky-dev  路  3Comments

cranst0n picture cranst0n  路  4Comments

charlax picture charlax  路  3Comments

idrm picture idrm  路  3Comments