Open bobbingwide opened 11 months ago
While updating the documentation on s.b/oikcom I was unable to get data for the Clone fields using seamless.
The call to get_field_object()
wasn't returning any results for long key field_64ac359853cbf_field_64ac34578821f
.
I needed to change it to second half of the key, ie the last 19 digits.
----+----1----+----
field_64ac34578821f
I also needed to change the block's CSS file to cater for the new class names on the block.
eg change from acf-field-gallery
to acf-type-gallery
I also needed some extra selectors to support styling when the Display label checkbox is set to true. See #22
I don't know what caused it but in the block editor there's no field name selected in the block editor even though the front end display works.
This is probably due to the fact that I changed to logic to use the field key rather than field name but forgot to update the examples. See #16