diff --git a/packages/core/helper-plugin/lib/src/components/GenericInput/index.js b/packages/core/helper-plugin/lib/src/components/GenericInput/index.js index 44db7ef04a..b7d5b491cd 100644 --- a/packages/core/helper-plugin/lib/src/components/GenericInput/index.js +++ b/packages/core/helper-plugin/lib/src/components/GenericInput/index.js @@ -146,7 +146,7 @@ const GenericInput = ({ hint={hint} required={required} onChange={(json) => { - // Default to null when the field is required and there is no input value + // Default to null when the field is not required and there is no input value const value = !attribute.required && !json.length ? 'null' : json; onChange({ target: { name, value } }); }}