Support

Account

Home Forums Gutenberg Custom field type value not saved in an ACF Block

Helping

Custom field type value not saved in an ACF Block

  • Hi,

    I’m having trouble getting a custom field type built on ACF field type template (https://github.com/AdvancedCustomFields/acf-field-type-template) to work in an ACF Block. Seems to work nicely in a CPT without Gutenberg and on an ACF Settings Page (obviously without Gutenberg too).

    When used in a block, the values don’t seem to get saved at all and the preview doesn’t get updated. After hours of banging my head I just can’t seem to find what’s the problem.

    The field type plugin can be found here:
    https://github.com/ooksanen/acf-focuspoint

  • Solved. Needed to trigger change event for ACF to register values.

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.