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.

[BUG] InputDateRange + maxLength of 1 month

See original GitHub issue

🐞 Bug report

Description

If you set maxLength for InputDateRange to be { month: 1 } months in date picker start to behave a little crazy:

  1. picking the first day of a month in left calendar switches all calendars 1 month in the past so selected day is now in the right calendar
  2. picking last day of the right month switches both calendars to show the same month

Reproduction

https://stackblitz.com/edit/taiga-date-picker-bug

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
artemv01commented, May 22, 2021

Hi there, i’d like to check out this one

0reactions
artemv01commented, May 22, 2021

yeah that’s what I meant, ok

Read more comments on GitHub >

github_iconTop Results From Across the Web

InputDateRange Class | Wijmo API - GrapeCity
Gets or sets the number of months to display in the drop-down calendar. The default value for this property is 1. For more...
Read more >
<input type="date"> - HTML: HyperText Markup Language
The resulting value includes the year, month, and day, but not the time. ... The simplest use of <input type="date"> involves one <input> ......
Read more >
IE10 Validation bug with maxlength and placeholder on textbox
In this case you should change your max length to 10 so it will not be issue for max length and set the...
Read more >
HTML input tag maxLength BUG · Issue #10250 · facebook/react
I met a problem as follow I want to render the input tag value when react component mounted, and I have set maxLength...
Read more >
Android 4.1.1 browser - maxlength attribute doesn't work ...
This bug has been reported for 3 months. As it occurs : - on every tested devices (>4.1.1) - everytime a maxlength attribute...
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