Fix issue with loading translated data with arrayNames#84
Fix issue with loading translated data with arrayNames#84mjauvin merged 1 commit intowintercms:wip-ml-repeater-fieldsfrom nmiyazaki-chapleau:wip-ml-repeater-fields
Conversation
|
Seems fine to me, @mjauvin any thoughts? Related: wintercms/wn-blocks-plugin#34 |
|
I'll look into this when I get back from my vacation. |
Does this work when |
|
@nmiyazaki-chapleau are you still interested in getting this merged? |
As long as
Yes, thank you and thanks @mjauvin for the emrge. I haven't worked with winter in a bit, but getting these things done helps. Appreciate all the work you've done! |
A previous PR I did, #83, added a fix for obtaining data with arrayNames in
MLControl'sgetLocaleFieldNamemethod. However, loading data with arrayNames was not implemented. This PR aims to fix this issue by doing a basic implementation within thegetLocaleValueandgetLocaleSaveValuemethods.It has not been thoroughly tested; the main tests were for an implementation with the Blocks plugin, which uses arrayNames.
Any input is welcome.