2
0
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:
Oliver Walters
2023-07-27 18:42:38 +10:00
parent a0a9b0c4e6
commit 776000847f

View File

@ -206,7 +206,7 @@ function ApiFormField({
<DateInput
radius="sm"
{...definition}
date={undefined}
clearable={!definition.required}
onChange={(value) => onChange(value)}
/>
);