Filter jobs by election date?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
12 views
Guys, there is a filter.
tyk

functional track:
the user can select a date manually, and can select via radio button
when choosing via radio-button field, the date needs to change. And it's all good.
But there's a new bug when trying to select a date in the manual - figushki. He chooses her, but the dates are chosen depending on the selected date + 1. and should remain different. Prompt how to be?
by | 12 views

1 Answer

0 like 0 dislike
You have written code to bind the selected period. When you change through the calendar date in one field, the second date is automatically recalculated according to the selected period.
When you put in the first field, for example date APR 27, 2018 the end date will be calculated by your code
this.dateEnd = moment(value).add(1, this.selectedPeriod).toDate()

for today and will add 1 day to start date, this will be the value of the final 28 APR 2018
the week will be added 1 week - ending date may 4, 2018
per month - 1 month - final date 27 may 2018

In this case, it is not very clear what the problem is
by

Related questions

0 like 0 dislike
1 answer
asked May 22, 2019 by rusline18
0 like 0 dislike
2 answers
asked May 21, 2019 by myskypesla
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Jun 14, 2019 by z_a_p_a_r_a
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
35,430 users