Support

Account

Home Forums Feedback Don't overwrite "readonly" when syncing JSON

Helping

Don't overwrite "readonly" when syncing JSON

  • The ideal solution would be to allow "readonly" in the UI – but in the meantime:

    • Adding "readonly" to the field in the JSON file works as expected.
    • However, modifying the fields in the UI overwrites the "readonly" field.

    Suggestion: If a local JSON file has the "readonly" property, do not overwrite it when the UI changes are made.

  • For attributes not available in the UI it is better to use an acf/prepare_field filter rather then make changes to the JSON file.

    If you want to suggest that this property be added to the UI for some fields then you should contact the developers.

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

You must be logged in to reply to this topic.