charliedevelopment / craft3-section-field

Configurable field that allows selecting from available singles, channels, and structures.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't export selected sections with project.yaml

johannesSolvr opened this issue · comments

The white list is saved as Ids in project.yaml. Since Id's can change on different installs, this makes it impossible to select what sections to use.

On my prod and stage environment, I have adminChanges turned off, and cannot change the values.

is it possible to change the whitelist into slugs that will be the same in different environments?

I'm having this issue as well. Every time we re-deploy the site the settings for section-field get wiped out and I have to re-enter them.

It should be possible to build the whitelist based on the section handle, shouldn't it? Those are still required to be unique, and would be the same in different environments.