Answer the question
In order to leave comments, you need to log in
Does the filter work on date pickers?
Guys, there is such a filter.
Tyk
functional trace: the
user can select the date manually, or can select through the radio-button
when he selects through the radio-button in the field, the dates should change. And with this, everything is fine.
But a new bug has arisen when you try to select a date manually - figurines. He selects it, but the dates are selected depending on the selected date + 1. but should remain different. Tell me how to be?
Answer the question
In order to leave comments, you need to log in
You have a binding in your code for which period is selected. When you change the date in one of the fields through the calendar, the second date is automatically recalculated according to the selected period.
When you put a date in the first field, let's say April 27, 2018, then the end date will be recalculated by your code
for today 1 day will be added to the start date, this will be the value of the end date 28 Apr 2018
for the week 1 week will be added - the end date May 4, 2018
for the month - 1 month - the end date May 27, 2018
In this case, it is not very clear what the problem is
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question