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