evepen1
evepen1
**React **AntDesign **Datepicker In most of the cases any invalid date format or string with "Invalid date" is displayed as and when 'myDate' becomes null. In such cases you want...
Make sure you turn on the Boolean value to true DatePicker allowClear = {true} `CSS` changes .ant-calendar-picker-clear { opacity: 1; }
Facing the same issue with react-datepicker placed on top-right corner of the screen. The below CSS code worked for me check it out: `.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle { margin-left: 8em; }`