Skip to content

Improve Datepicker #5156

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

Merged
merged 10 commits into from Nov 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -140,39 +140,24 @@ exports[`Matches shallow shapshot 1`] = `
/>
</div>
<div
className="src-shared-components-challenge-listing-Filters-FiltersPanel-___style__filter___1-QUz src-shared-components-challenge-listing-Filters-FiltersPanel-___style__dates___3kH3c src-shared-components-challenge-listing-Filters-FiltersPanel-___style__hidetwomonthdatepicker___OurWT"
className="src-shared-components-challenge-listing-Filters-FiltersPanel-___style__filter___1-QUz src-shared-components-challenge-listing-Filters-FiltersPanel-___style__dates___3kH3c"
>
<label
htmlFor="date-range-picker-one-month"
htmlFor="input-start-date-range"
>
Date range
<input
type="hidden"
/>
</label>
<DateRangePicker
id="date-range-picker-one-month"
numberOfMonths={1}
onDatesChange={[Function]}
readOnly={true}
/>
</div>
<div
className="src-shared-components-challenge-listing-Filters-FiltersPanel-___style__filter___1-QUz src-shared-components-challenge-listing-Filters-FiltersPanel-___style__dates___3kH3c src-shared-components-challenge-listing-Filters-FiltersPanel-___style__hideonemonthdatepicker___2zdTb"
>
<label
htmlFor="date-range-picker-two-months"
>
Date range
<input
type="hidden"
/>
</label>
<DateRangePicker
id="date-range-picker-two-months"
numberOfMonths={2}
onDatesChange={[Function]}
readOnly={true}
endDatePlaceholder="End Date"
onChange={[Function]}
range={
Object {
"endDate": null,
"startDate": null,
}
}
readOnly={false}
startDatePlaceholder="Start Date"
/>
</div>
</div>
Expand Down Expand Up @@ -325,39 +310,24 @@ exports[`Matches shallow shapshot 2`] = `
/>
</div>
<div
className="src-shared-components-challenge-listing-Filters-FiltersPanel-___style__filter___1-QUz src-shared-components-challenge-listing-Filters-FiltersPanel-___style__dates___3kH3c src-shared-components-challenge-listing-Filters-FiltersPanel-___style__hidetwomonthdatepicker___OurWT"
className="src-shared-components-challenge-listing-Filters-FiltersPanel-___style__filter___1-QUz src-shared-components-challenge-listing-Filters-FiltersPanel-___style__dates___3kH3c"
>
<label
htmlFor="date-range-picker-one-month"
htmlFor="input-start-date-range"
>
Date range
<input
type="hidden"
/>
</label>
<DateRangePicker
id="date-range-picker-one-month"
numberOfMonths={1}
onDatesChange={[Function]}
readOnly={true}
/>
</div>
<div
className="src-shared-components-challenge-listing-Filters-FiltersPanel-___style__filter___1-QUz src-shared-components-challenge-listing-Filters-FiltersPanel-___style__dates___3kH3c src-shared-components-challenge-listing-Filters-FiltersPanel-___style__hideonemonthdatepicker___2zdTb"
>
<label
htmlFor="date-range-picker-two-months"
>
Date range
<input
type="hidden"
/>
</label>
<DateRangePicker
id="date-range-picker-two-months"
numberOfMonths={2}
onDatesChange={[Function]}
readOnly={true}
endDatePlaceholder="End Date"
onChange={[Function]}
range={
Object {
"endDate": null,
"startDate": null,
}
}
readOnly={false}
startDatePlaceholder="Start Date"
/>
</div>
</div>
Expand Down
Loading