New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow after/before modifiers into a same object #354

Closed
gpbl opened this Issue May 20, 2017 · 0 comments

Comments

1 participant
@gpbl
Owner

gpbl commented May 20, 2017

There's some confusion about using the { before }/{ after } modifiers (e.g. #352 and #324):

// not working
disabledDays={ { before: aDate, after: aDate }}
//  working
disabledDays={ [ { before: aDate}, { after: aDate }] }

The first is indeed more logic...

  • update code to work with { before, after } modifiers
  • update docs
  • update typescript definitions

@gpbl gpbl added the improvement label May 20, 2017

@gpbl gpbl added this to the v5.6.0 milestone May 20, 2017

@gpbl gpbl closed this in #393 Jun 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment