mirror of
https://github.com/strapi/strapi.git
synced 2025-09-01 12:53:03 +00:00
fix(admin): change the onChange value format (#20540)
This commit is contained in:
parent
ef63271a8c
commit
af23efe5e5
@ -23,7 +23,7 @@ const TimeInput = forwardRef<HTMLInputElement, InputProps>(
|
||||
ref={composedRefs}
|
||||
clearLabel={formatMessage({ id: 'clearLabel', defaultMessage: 'Clear' })}
|
||||
onChange={(time) => {
|
||||
field.onChange(name, time);
|
||||
field.onChange(name, `${time}:00.000`);
|
||||
}}
|
||||
onClear={() => field.onChange(name, undefined)}
|
||||
value={field.value ?? ''}
|
||||
|
Loading…
x
Reference in New Issue
Block a user