react-multi-date-picker
react-multi-date-picker copied to clipboard
input name prop doesn't work
when is passed the name prop to the component it seems didn't set correctly and i have some problem with that! i don't use any custom components for rendering stuff.
<DatePicker
className="bg-dark"
value={value}
onChange={(date) => setValue(date?.toDate())}
render={<InputIcon />}
calendar={persian}
monthYearSeparator="-"
locale={persian_fa}
name="birthday"
/>