acf-composer icon indicating copy to clipboard operation
acf-composer copied to clipboard

Required field validation in blocks

Open chrisbakr opened this issue 1 year ago • 1 comments

ACF v3.0 implemented block validation but this doesn't seem to be working with the setRequired() method from acf-composer.

chrisbakr avatar Jun 07 '24 11:06 chrisbakr

It will only work when blocks are cached to block.json files with wp acorn acf:cache – haven't had time to look into if it is possible when they are registered through PHP.

Log1x avatar Jun 07 '24 11:06 Log1x