rsuite date range picker -- Remove 'X' cancel from the rsuite rangeDatepicker

914 Views Asked by At

I am using rsuite Daterangepicker I want to remove the cancel or 'x' button from it after the date is selected as I don't want the value to be null

1

There are 1 best solutions below

1
On BEST ANSWER

Just set the prop cleanable to false:

< DateRangePicker cleanable={false} />