Support the ongoing development of Laravel.io →
Eloquent Forms
Last updated 1 year ago.
0

Ok, after digging into the Code of FormBuilder->getModelValueAttribute I saw that the function object_get is used to retrieve the Value from the Model if the model is an object, the function array_get is used if the model is an array.

So mixing these two seemed to be an bad idea, editing the method apiGet to return std-class objects resolved it.

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.