Home Forums ACF PRO Local JSON sync


Local JSON sync

  • Hi,
    I add ‘readonly’ to a field in local json. The sync not triggered. So every time the field group update from panel, ‘readonly’ will delete from json. I had to add it again…
    What should I do to keep the readonly?

  • There is not “readonly” setting when creating field in the admin. Even if you sync this field this setting will be ignored when you edit the field group. The only way to permanently add readonly to a field is by doing so in an acf/prepeare_field filter

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.