Skip to content
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

Inline date range picker: emit an event when first date is selected #6645

Open
wants to merge 10 commits into
base: development
Choose a base branch
from

Conversation

stevensoncam
Copy link

@stevensoncam stevensoncam commented Mar 20, 2024

PR Checklist

For the inline daterangepicker, emit an event when the first date of a range is selected.

In our use of the inline date range picker, we have an apply and cancel button. Because there is only an event emitted when a full range is selected, we end up in a situation where our apply button can't be disabled when there isn't a valid range selected (i.e. only the first date in the range). The change in this PR allows us to disable the apply button when the user hasn't selected a complete range.

  • [ X] read and followed the CONTRIBUTING.md guide.
  • [X ] built and tested the changes locally.
  • [X ] added/updated tests.
  • added/updated API documentation.
  • [ X] added/updated demos.

stevensoncam and others added 3 commits March 20, 2024 15:36
For the inline daterangepicker, emit an event when the first date of a range is selected.
For the inline daterangepicker, emit an event when the first date of a range is selected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants