-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to save dynamic attributes from POST #16
Comments
Have you verified that dynamic attributes in this model can be set and saved by other methods? |
I just created new model and detect that dynamic attributes saved to db, but when i try to access them - I always get |
I'm not in a position to debug this from here. I would need to see all of the relevant code. |
model:
view _attributes:
action:
|
I also get null when I try to access attribute. I tried basic $model = $this->findModel($id); and I see [BLOB - 19 B] in database, then when I load model and dump it I get however I tried different combinations and, but no success. |
I think i have figured it out and it was supper obvious, i was not extending DynamicActiveQuery for my ModelQuery. |
If add to from dynamic field e.g:
those attributes will not saved.
The text was updated successfully, but these errors were encountered: