Fix /create date input
This commit is contained in:
parent
f2a16afc90
commit
e2a72dd0a2
|
@ -379,12 +379,10 @@ export function NewContract(props: {
|
||||||
type={'date'}
|
type={'date'}
|
||||||
className="input input-bordered mt-4"
|
className="input input-bordered mt-4"
|
||||||
onClick={(e) => e.stopPropagation()}
|
onClick={(e) => e.stopPropagation()}
|
||||||
onChange={(e) =>
|
onChange={(e) => setCloseDate(e.target.value)}
|
||||||
setCloseDate(dayjs(e.target.value).format('YYYY-MM-DD') || '')
|
|
||||||
}
|
|
||||||
min={Date.now()}
|
min={Date.now()}
|
||||||
disabled={isSubmitting}
|
disabled={isSubmitting}
|
||||||
value={dayjs(closeDate).format('YYYY-MM-DD')}
|
value={closeDate}
|
||||||
/>
|
/>
|
||||||
<input
|
<input
|
||||||
type={'time'}
|
type={'time'}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user