React-date-picker: Calendar modal should only come on click of icon

Created on 23 Feb 2021  路  1Comment  路  Source: wojtekmaj/react-date-picker

Hi,

Can this requirement be achieved?

User should be able to type in the dates freely, without calendar modal being pop out.
Calendar should only come when clicked on calendar icon explicitly.

Any help will be appreciated.

Thanks

Most helpful comment

This is idiotic, but try passing an onFocus function that throws an error.

There definitely should be a way to disable this functionality though, so I'm going to add a flag.

>All comments

This is idiotic, but try passing an onFocus function that throws an error.

There definitely should be a way to disable this functionality though, so I'm going to add a flag.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

podlesny picture podlesny  路  7Comments

wojtekmaj picture wojtekmaj  路  7Comments

cavishek39 picture cavishek39  路  3Comments

vanmanh49 picture vanmanh49  路  4Comments

frankhn picture frankhn  路  5Comments