Skip to content

Commit

Permalink
Disable REACT DFV for now.
Browse files Browse the repository at this point in the history
Fixes #12
  • Loading branch information
JoryHogeveen committed Oct 19, 2021
1 parent b4b700e commit 1af43f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pods-address-field/classes/fields/address.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@ public function input( $name, $value = null, $options = null, $pod = null, $id =
$view = PODS_ADDRESS_FIELD_DIR . 'ui/fields/address.php';
$view = apply_filters( 'pods_ui_field_address_input_view', $view, $type, $name, $value, $options, $pod, $id );

// Disable REACT DFV for now.
$options['disable_dfv'] = true;

if ( ! empty( $view ) ) {
pods_view( $view, compact( array_keys( get_defined_vars() ) ) );
}
Expand Down Expand Up @@ -556,4 +559,4 @@ public static function default_display_format() {
{{country}}';
}

}
}

0 comments on commit 1af43f9

Please sign in to comment.