mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 15:07:13 +01:00
prettier all the things
This commit is contained in:
@@ -19,34 +19,34 @@ export default function DateSelect() {
|
||||
onChange={onChange}
|
||||
className="my-6 max-w-lg"
|
||||
/>
|
||||
</InputWrapper>
|
||||
<div className="flex flex-wrap -mx-3 mb-2">
|
||||
<div className="w-full md:w-2/5 px-3 mb-2 md:mb-0">
|
||||
<Input
|
||||
label="Von"
|
||||
type="date"
|
||||
className=""
|
||||
name="startDate"
|
||||
value={startDate || ''}
|
||||
onChange={onChangeEvent}
|
||||
min={today}
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
<div className="w-full md:w-2/5 px-3 mb-2 md:mb-0">
|
||||
<Input
|
||||
required
|
||||
label="Bis"
|
||||
type="date"
|
||||
className=""
|
||||
name="endDate"
|
||||
value={endDate || ''}
|
||||
placeholder="Von"
|
||||
onChange={onChangeEvent}
|
||||
min={startDate || today}
|
||||
/>
|
||||
</div>
|
||||
</InputWrapper>
|
||||
<div className="flex flex-wrap -mx-3 mb-2">
|
||||
<div className="w-full md:w-2/5 px-3 mb-2 md:mb-0">
|
||||
<Input
|
||||
label="Von"
|
||||
type="date"
|
||||
className=""
|
||||
name="startDate"
|
||||
value={startDate || ''}
|
||||
onChange={onChangeEvent}
|
||||
min={today}
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
<div className="w-full md:w-2/5 px-3 mb-2 md:mb-0">
|
||||
<Input
|
||||
required
|
||||
label="Bis"
|
||||
type="date"
|
||||
className=""
|
||||
name="endDate"
|
||||
value={endDate || ''}
|
||||
placeholder="Von"
|
||||
onChange={onChangeEvent}
|
||||
min={startDate || today}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user