mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-11 11:28:01 +00:00
Make date input clearable
This commit is contained in:
1 parent
a0a9b0c4e6
commit
776000847f
1 file changed
+1
-1
@@ -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