Simple repeater data passing in as string instead of array
I'm being thrown for a loop by what I thought were pretty basic repeaters. I've got two simple repeaters in my form: functions & qualifications.
They look like this in the migration:
the form fields are defined as:
and I have casts in the model:
When I initially add the record - or if I manually set them to NULL and then edit it - I can add items to the repeater. What gets stored in the database is
including the surrounding quotes. But if I edit a record that has any data in the field(s), I get the following error:
I've been up and down the Repeater docs page numerous times and I'm not seeing anything that looks out of place. Am I missing something? Any idea what I'm doing wrong?
Thanks.
They look like this in the migration:
the form fields are defined as:
and I have casts in the model:
When I initially add the record - or if I manually set them to NULL and then edit it - I can add items to the repeater. What gets stored in the database is
including the surrounding quotes. But if I edit a record that has any data in the field(s), I get the following error:
I've been up and down the Repeater docs page numerous times and I'm not seeing anything that looks out of place. Am I missing something? Any idea what I'm doing wrong?
Thanks.