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.

CommentFileSizeAuthor
#2 search_empty_string-2666764-2.patch1.36 KBzuhair_ak

Issue fork zircon-2666764

Command icon 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:

Comments

zuhair_zyxware created an issue. See original summary.

zuhair_ak’s picture

StatusFileSize
new1.36 KB

Add html5 placeholder attribute in search form using hook_form_alter and remove script used to display the placeholder.

zuhair_ak’s picture

Status: Active » Needs review

Gauravmahlawat made their first commit to this issue’s fork.

gauravvvv’s picture

Issue summary: View changes
Status: Needs review » Fixed

Yeah, 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.