You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the User controller, awards can be added to pivot data with
1 - "Pivot model" tab :
Adding pivot data (awards) work's well, the data are present in DB; but when editing them the repeater field is not filed.
2 - "Pivot data" tab :
Throw an error "Unexpected type of array when attempting to save attribute "awards", try adding it to the $jsonable property." on line 824 of ...\vendor\winter\storm\src\Database\Model.php.
Additional question:
Is it possible to edit role data and pivot model data in the same pop-up?
The text was updated successfully, but these errors were encountered:
My understanding is pivot data is still not fully supported in a fair few core functions. I always find it more reliable to modify the intermediate models directly if I need to store "pivot data", rather than relying on pivot data functionality in Winter/Laravel.
That being said, we'll look into your example above and have a look at the difference there.
On the
User
controller, awards can be added to pivot data with1 - "Pivot model" tab :
Adding pivot data (awards) work's well, the data are present in DB; but when editing them the repeater field is not filed.
2 - "Pivot data" tab :
Throw an error
"Unexpected type of array when attempting to save attribute "awards", try adding it to the $jsonable property." on line 824 of ...\vendor\winter\storm\src\Database\Model.php
.Additional question:
Is it possible to edit role data and pivot model data in the same pop-up?
The text was updated successfully, but these errors were encountered: