Skip to content

Commit

Permalink
Merge pull request #50 from froboy/DS-825-events-form-label
Browse files Browse the repository at this point in the history
fix: DS-825 Move event listing placeholder text to label
  • Loading branch information
podarok authored Jun 29, 2023
2 parents 177595e + d587c9f commit 0cddae0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ function openy_prgf_event_listing_form_views_exposed_form_alter(&$form, \Drupal\

// Add placeholder to views exposed form
if ($view->id() == 'listing_event_posts' && $view->current_display == 'events_listing_block') {
$form['combine']['#attributes']['placeholder'] = t('Search the events...');
$form['combine']['#title'] = t('Search the events:');
}
}

0 comments on commit 0cddae0

Please sign in to comment.