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

View File

@ -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)}
/> />
); );