question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Picking a startDate after the initial endDate

See original GitHub issue

Given I have a DateRangePicker initialized with the startDate Oct 15 and the endDate Oct 16, when I try to set the startDate to Oct 17, I get this warning:

unspecified

Is this by design and can I suppress the warning?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ghostcommented, Dec 9, 2016

@majapw Hi, I just wanted to start off by thanking you for your contribution to this, it’s an awesome DateRangePicker! So, I figured out my issue, it was a little different that the one described - I had to put an if statement in my onDatesChange that corrected for if startDate > endDate and that fixed it!

0reactions
majapwcommented, Dec 9, 2016

Glad it was fixed!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Automatically changes end date after start date is picked
I am trying to make the end date always 7 days greater than the start date. So when I change the start date...
Read more >
WHERE GETDATE() BETWEEN StartDate AND EndDate Is ...
In this case, estimation is easy. The actual plans show that SQL Server knows that all of the rows are going to match:...
Read more >
How to select end date based off of start date
Solved: I have 2 date fields in a form (start date & end date), what I'm trying to accomplish is for my end...
Read more >
End date Should not be able to select before Start...
End date Should not be able to select before Start date . ... Since, its Catalog Client Script can you make sure you...
Read more >
Start and End Date Parameters - Tableau Community
I'm allowing users to pick a start date and end date parameter to ... only display periods that are the same or after...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found