An empty string in search input searches for 'Keywords' and shows the result for that query. Normally it should show a warning message that there is no input string or search for an empty string. We could use a placeholder for search input.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | search_empty_string-2666764-2.patch | 1.36 KB | zuhair_ak |
Issue fork zircon-2666764
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 2666764-empty-string-in
changes, plain diff MR !6
Comments
Comment #2
zuhair_akAdd html5 placeholder attribute in search form using hook_form_alter and remove script used to display the placeholder.
Comment #3
zuhair_akComment #8
gauravvvv commentedYeah, this is fixed now. committed 189880a on 8.x-1.x
Patch #2, doesn't work on 8.x-1.x anymore, because of many files changed. I re-rolled it for 8.x-1.x..
Thanks, @zuhair_ak for your work.