Stillat / meerkat-statamic3

Meerkat 2 is an extremely powerful and easy-to-use comment platform for Statamic 3.
https://meerkatcomments.com/
Other
5 stars 3 forks source link

How to use checkboxes (array values) in v2? #206

Closed mikewink closed 2 years ago

mikewink commented 2 years ago

Hello, I'm migrating a project from v1 to v2 in Statamic 3 and I have a problem. I have some extra fields on my comment form. I have one with several checkboxes. I normally save multiple vales with it.

When I use my old code from v1, I run into an Array to string conversion error, caused in the fillWithEntryData method of the SocializeController. The $data array has my checkbox values as a sub array, and that causes the issue.

Do I need to alter the Blueprint to make the field a special kind, or is this an error?