Checklist not checked old data


@abewartech thanks for the report.
Could you provide me your checklist field definition ? Thanks

Thanks
Hello @abewartech
Testing this I figured out that you need to add engine to your model $casts.
protected $casts = ['engine' => 'array'];
I checked and it's missing in the docs. I am submitting an PR to the docs so we can clarify people that when using pivot => false or just don't setup pivot at all, will default to false, you need to cast the db column to array in your model.
Sorry for missing info on docs.
I am going to close this, if I am wrong, please re-open.
Best,
Pedro
Most helpful comment
Hello @abewartech
Testing this I figured out that you need to add
engineto your model$casts.protected $casts = ['engine' => 'array'];I checked and it's missing in the docs. I am submitting an PR to the docs so we can clarify people that when using
pivot => falseor just don't setuppivotat all, will default to false, you need to cast the db column to array in your model.Sorry for missing info on docs.
I am going to close this, if I am wrong, please re-open.
Best,
Pedro