react-native-paper-dates icon indicating copy to clipboard operation
react-native-paper-dates copied to clipboard

Is there any way to check DatePickerInput is empty or not?

Open shubhadeep-kartbite opened this issue 3 years ago • 1 comments

If I clear the input box, the last set value is always there.

So I am now able to handle the empty error properly.

Is there any way to check DatePickerInput is empty or not?

shubhadeep-kartbite avatar May 28 '22 16:05 shubhadeep-kartbite

You can add onBlur/onFocus and add error if the onChange does not set any date.

RichardLindhout avatar Aug 25 '22 18:08 RichardLindhout