nova-translatable icon indicating copy to clipboard operation
nova-translatable copied to clipboard

Problem with translatable + Flexible

Open pitylee opened this issue 3 years ago • 0 comments

Regarding the reported issue here https://github.com/whitecube/nova-flexible-content/pull/267:

Somehow the translatable field will not get the unique key in the payload.

This way, it is trying to find with files.0.attributes.transcript.en in the rules, but that doesn't exist, if I add the key in the scoped field rules it will not be able to check, but shows error correctly.

I am wondering how could I add the jPsvC4afdJP8SRv0 to the transcript attribute in the payload?

Payload: files: [{"layout":"audio","key":"jPsvC4afdJP8SRv0","attributes":{"transcript":"{"en":"","fr":"fr"}","jPsvC4afdJP8SRv0__id":"117","jPsvC4afdJP8SRv0__filetype":"audio","jPsvC4afdJP8SRv0__ComputedField":"29582"}}]

pitylee avatar Feb 24 '22 15:02 pitylee