Hi,
I’m trying to add a flexible content layout by using Javascript API once i load the page on the backend. I managed to automatically add it using:
var field = acf.getField( 'field_5aeadb9ea5076' );
field.add( { layout: 'slider' } );
Now the question is how i can also add some content to the layout field. For example i have a text field ‘title’.
Hope someone already faced this challenge before.
I am facing the same issue.
@alexandru-b did you find a solution?