[ad_1]
For a strange reason the field of nested form are cached.
Currently the plugin does not export latest fields added
I’ve found the lines involving this problem inside nestedFormField.php
// Cache the results.
$this->fields = array_reduce( $nested_form['fields'], function ( array $fields, \GF_Field $field ) {
if ( in_array( $field->id, $this->field->gpnfFields ?? [], false ) ) {
$fields[ $field->id ] = $this->transformer->transform( $field );
}
return $fields;
}, [] );Disabling the if it is working
if ( in_array( $field->id, $this->field->gpnfFields ?? [], false ) ) {Have you got a solution to refresh the field of nested form from dashboard ?
