mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 19:45:46 +00:00
Make date input clearable
This commit is contained in:
@ -206,7 +206,7 @@ function ApiFormField({
|
|||||||
<DateInput
|
<DateInput
|
||||||
radius="sm"
|
radius="sm"
|
||||||
{...definition}
|
{...definition}
|
||||||
date={undefined}
|
clearable={!definition.required}
|
||||||
onChange={(value) => onChange(value)}
|
onChange={(value) => onChange(value)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user