mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 15:07:13 +01:00
break start/end date fields together
This commit is contained in:
committed by
Thomas Ruoff
parent
8925a9ed7f
commit
18337a7ac7
@@ -11,7 +11,8 @@ export default function DateSelect() {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<InputWrapper label="Datum" required>
|
<InputWrapper label="Datum" required>
|
||||||
<label className="flabel inline-block mr-3" htmlFor="startDate">
|
<div className="inline-block mr-6">
|
||||||
|
<label className="flabel inline-block w-6 mr-3" htmlFor="startDate">
|
||||||
Von
|
Von
|
||||||
</label>
|
</label>
|
||||||
<input
|
<input
|
||||||
@@ -22,7 +23,9 @@ export default function DateSelect() {
|
|||||||
onChange={onChangeEvent}
|
onChange={onChangeEvent}
|
||||||
min={today}
|
min={today}
|
||||||
/>
|
/>
|
||||||
<label className="flabel inline-block ml-6 mr-3" htmlFor="endDate">
|
</div>
|
||||||
|
<div className="inline-block">
|
||||||
|
<label className="flabel inline-block w-6 mr-3" htmlFor="endDate">
|
||||||
Bis
|
Bis
|
||||||
</label>
|
</label>
|
||||||
<input
|
<input
|
||||||
@@ -34,6 +37,7 @@ export default function DateSelect() {
|
|||||||
onChange={onChangeEvent}
|
onChange={onChangeEvent}
|
||||||
min={startDate || today}
|
min={startDate || today}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
</InputWrapper>
|
</InputWrapper>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user