Closed stoffelio closed 1 year ago
With this change, do you have to first re-save the entry for the responsive tag to work?
Just thinking about it: if you are manually changing the field type, why not also do a clever search and replace in your IDE/text editor?
You're right, I hadn't noticed that it only works after saving the entry again. So yeah, not a smooth enough solution to merge in. I'll just use it as a temporary patch for switching things one time.
This is a minor change to allow for easier migration from Statamic's built in asset fieldtype to the responsive fieldtype provided by this addon.
It allows us to simply change the type of an asset field (with limit 1) to responsive and automatically import the existing image as the default image in the responsive set, instead of having to go through and manually changing the data everywhere.