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
Hi. First of all, thanks for implement this useful package.
I have made one modification and added the possibility to include individual disabled months even if they are between max/min range.
The idea is passing a "disabledMonthsArray" in props, for example ["202003", "202105"] (which will disable march 2020 and may 2021) and adding this check " && !this.props.noDataMonths.includes(currentYear)" on the if statement at isMonthEnabled function on MonthSelector.js.
Hope it helps to improve this package.
Thanks again!
The text was updated successfully, but these errors were encountered:
Hi. First of all, thanks for implement this useful package.
I have made one modification and added the possibility to include individual disabled months even if they are between max/min range.
The idea is passing a "disabledMonthsArray" in props, for example ["202003", "202105"] (which will disable march 2020 and may 2021) and adding this check " && !this.props.noDataMonths.includes(currentYear)" on the if statement at isMonthEnabled function on MonthSelector.js.
Hope it helps to improve this package.
Thanks again!
The text was updated successfully, but these errors were encountered: