You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EuiDatePicker] Docs/Types list unsupported react-datepicker props #5315
I'm not sure if I'm missing something, but it looks to me like both the types and docs for EuiDatePicker each list props from react-datepicker that are intentionally not supported by EuiDatePicker.
I noticed this with todayButton, but after a quick look at the code I believe monthsShown,showWeekNumbers,fixedHeight,dropdownMode,useShortMonthInDropdown,timeCaption,disabledKeyboardNavigation,isClearable,withPortal,showMonthYearDropdown are also affected.
You're correct that the lack of support is intentional, although I didn't know that so many documented props were unsupported.
We do not plan to add support for those unsupported props, and will in fact be removing react-datepicker in the near future.
We can, for now, at least remove the unsupported props from the table.
Activity
thompsongl commentedon Oct 25, 2021
Hey @joeried. Thanks for the exhaustive list!
You're correct that the lack of support is intentional, although I didn't know that so many documented props were unsupported.
We do not plan to add support for those unsupported props, and will in fact be removing react-datepicker in the near future.
We can, for now, at least remove the unsupported props from the table.