mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Make date input clearable
This commit is contained in:
parent
a0a9b0c4e6
commit
776000847f
@ -206,7 +206,7 @@ function ApiFormField({
|
||||
<DateInput
|
||||
radius="sm"
|
||||
{...definition}
|
||||
date={undefined}
|
||||
clearable={!definition.required}
|
||||
onChange={(value) => onChange(value)}
|
||||
/>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user