From 420bd45dc7785e13ebe1f275e390f4f8f83ddd21 Mon Sep 17 00:00:00 2001 From: Serhiy Zakharchenko Date: Wed, 18 Dec 2024 18:09:56 +0000 Subject: [PATCH 1/2] Fix empty column headers in Multiple Forms mobile view #2237 --- future/includes/class-gv-template-view-table.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/future/includes/class-gv-template-view-table.php b/future/includes/class-gv-template-view-table.php index 89c01cb6c..b7e17184c 100644 --- a/future/includes/class-gv-template-view-table.php +++ b/future/includes/class-gv-template-view-table.php @@ -378,11 +378,8 @@ public function the_field( \GV\Field $field, \GV\Entry $entry ) { ); if ( $entry->is_multi() ) { - if ( ! $single_entry = $entry->from_field( $field ) ) { - echo ''; - return; - } - $form = GF_Form::by_id( $field->form_id ); + $single_entry = $entry->from_field( $field ); + $form = GF_Form::by_id( $field->form_id ); } $renderer = new Field_Renderer(); From ade4ef0c4e5f23b23a83fbb27ca77cdedaeb20a6 Mon Sep 17 00:00:00 2001 From: Vlad Date: Thu, 19 Dec 2024 11:59:51 -0500 Subject: [PATCH 2/2] Update changelog [ci skip] --- readme.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.txt b/readme.txt index 7b8c4edba..4e4163613 100644 --- a/readme.txt +++ b/readme.txt @@ -33,6 +33,7 @@ Beautifully display your Gravity Forms entries. Learn more on [gravitykit.com](h * Custom permalinks were not used on embedded Views. * When multiple Views were embedded on the same page, it would show the other Views when displaying a single entry. * Deprecated filter notice when both the Advanced Filter extension (version 3 or newer) and Gravity Flow are active. +* When using the Multiple Forms extension, labels for fields with empty values no longer disappear in the mobile view. #### 💻 Developer Updates * Added `gravityview/template/field/csv/tick` filter to programmatically modify the checkbox "check" output in CSV.