react-multi-date-picker icon indicating copy to clipboard operation
react-multi-date-picker copied to clipboard

input name prop doesn't work

Open moeinmac opened this issue 7 months ago • 0 comments

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"
    />

moeinmac avatar Mar 18 '25 17:03 moeinmac