Open budda opened 2 years ago
At the moment the placeholder text in the textfield says "Search" too -- maybe that should be "keyword" or "phrase" otherwise the UI looks like
@markconroy how about "Search" as that's what the button does
Looks like this is an issue for the Localgov Search module, not the base theme, as it's stored in config there: https://github.com/localgovdrupal/localgov_search/blob/1.x/config/install/views.view.localgov_sitewide_search.yml
@finnlewis Do you know how to transfer an issue from one repo to another? If so, can you move this to LocalGov Search module please?
* Implements hook_form_alter().
*/
function lgd_form_alter(&$form, $form_state, $form_id) {
dpm($form_id);
dpm($form);
}```
Those `dpm`s return the form from the view, not the form from our custom code. So you can't get at our custom code form to alter the placeholder, it will only alter the placeholder from the view version (on the /search page).
Currently, the search form submit button label says "Apply" which doesn't make sense.
Some councils use "GO" as the button text, others have simply got an icon for a button.