updated handleChange comment

This commit is contained in:
ronronscelestes 2022-06-24 09:34:17 +02:00
parent c943009ba1
commit 2ba1b0982b

View File

@ -233,7 +233,7 @@ const EditViewDataManagerProvider = ({
({ target: { name, value, type } }, shouldSetInitialValue = false) => {
let inputValue = value;
// Allow to reset text, string, email, uid, select/enum, date
// Allow to reset text, email, uid, select/enum, and number
if (
['text', 'string', 'email', 'uid', 'select', 'select-one', 'number'].includes(type) &&
!value