| @@ -1,4 +1,4 @@ | ||
| 1 | 1 | // --------------------------------------------------------------------------------------------------------------------- |
| 2 | 2 | // == File /includes/page-form-builder/_out/bfb-builder.js == Time point: 2025-09-06 14:08 |
| 3 | 3 | // --------------------------------------------------------------------------------------------------------------------- |
| 4 | 4 | |
| @@ -1175,10 +1175,10 @@ | ||
| 1175 | 1175 | } catch ( _e2 ) {} |
| 1176 | 1176 | return false; |
| 1177 | 1177 | } |
| 1178 | 1178 | |
| 1179 | - // Open modal with prefilled search. | |
| 1180 | - window.wpbc_bfb__menu_forms__apply_template_search( search_key, null ); | |
| 1179 | + // Open modal with prefilled search and preselect the first non-blank result. | |
| 1180 | + window.wpbc_bfb__menu_forms__apply_template_search( search_key, null, { auto_select_first_real: true } ); | |
| 1181 | 1181 | |
| 1182 | 1182 | return true; |
| 1183 | 1183 | |
| 1184 | 1184 | } catch ( _e3 ) { |