Gernott/mask

cropVariants in repeatable Fields

supercat1510 opened this issue · 4 comments

I try to use cropVariants in repeatable Fields - how describe in this Link: https://docs.typo3.org/p/mask/mask/main/en-us/Guides/CropVariants.html
But it just doesn't work.
In the TCA configuration, the entry "crop" simply does not appear.
If I save the structure directly in the mask.json, then it works - but the setting is gone as soon as the file is regenerated by saving.

I think the most sensible solution would be if you could select in the "Mask" at File whether you want to use the standard crop, or alternatively you can specify the required variants directly.

Did you require Mask as a dependency in your sitepackage? This is the most common mistake, as the TCA would be overriden by Mask immediately.

I add the depends and delete all caches - but nothing change

Are you in composer mode? If yes, you need to reinstall Mask so the loading order is renewed.

I'll close this as no feedback since 3 weeks. If you have still issues, you can also ask on slack.