Hi, I want use Acf Builder with Sage 10.
I generate a file field via acorn: (Options/Example.php).
The documentation indicates that to access the field in the view, you must return to a with function. Unfortunately this doesn’t work, any idea?
public function with() {
return [
'fieldOne' => get_field('fieldOne', 'option')
]
}
public function fields()
{
$general = new FieldsBuilder('general');
$general
->addTab('General')
->addText('fieldOne');
return $general->build();
}