webiny-js
webiny-js copied to clipboard
Headless CMS: Null items not allowed for Text field set to "use as a list of texts" even when field is set as not required
Version
5.27.0
Operating System
MacOS
Browser
Chrome
What steps will reproduce the bug?
Create a content model with text field called tags set to use as a list of texts and not required.
Save item,
What is the expected behavior?
Null list values should be allowed if field is not required
What do you see instead?
item fails to save and API responds with message: "Variable \"$data\" got invalid value null at \"data.tags[0]\"; Expected non-nullable type \"String!\" not to be null."
Additional information
No response
Possible solution
No response
Thanks @jimjoes! We'll have someone look into this.
+1