-
I am getting an validation error when saving an attachment to the row "validationErrors: {image: ["must be of type array"]} |
Beta Was this translation helpful? Give feedback.
Answered by
melohagan
May 4, 2022
Replies: 2 comments 3 replies
-
Hi @newtonlaw95 This appears to be a bug. In the meantime you can access the attachment via JavaScript instead e.g.
The handlebars appear to be treating it as a string and not an array. Bug raised here: #5697 |
Beta Was this translation helpful? Give feedback.
3 replies
-
I just had it and the cause was a ' in the picture name ! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It does work fine however, if you use the table schema and attachment field name.
For example, your table:
Link your attachment component to the form:
Link your form schema to the table that has the attachment column:
Finally just save row for your form: