-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
Compatibility with Nova Dependency Container #123
Comments
No, this is not similar to 129. Confirm this is still happening in:
I checked this should be a data displaying issue. In Update Form all flexible elements' values are replaced by the last flexible element value if using NovaDependencyContainer |
Hello! |
Hi @phrasetagg, thanks for the feedback. I'm hoping to find some time for these urgent issues soon. |
This seems to be due to duplicate field IDs - caused by the flexible "key" not being appended to the field ID for all fields in a NovaDependencyContainer that's housed in a Flexible. |
Trying to narrow down the issue, it looks like renameFields() isn't being fired for fields inside of NovaDependencyContainer fields. |
Solved my issue by using a custom class extending layout and using duplicateAndHydrate() |
Can you please share your solution? |
There's a workaround mentioned in this issue |
Hello,
Anybody else having issues with Nova Dependency Container inside Flexible Content ?
I'm using a custom Preset & Resolver. Data is saved correctly in the DB.
If I add 2 products to my "product" layout, the 1st product's fields have the last product's values. (eg. in DB: sale_price: 3/sale_price:1 gives sale_price:1/sale_price:1 in the edit form...)
Any idea ?
The text was updated successfully, but these errors were encountered: