mirror of
https://github.com/strapi/strapi.git
synced 2025-08-05 15:29:04 +00:00
updated handleChange comment
This commit is contained in:
parent
c943009ba1
commit
2ba1b0982b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user