Anyone know how to I can add placeholder text in the search input field?

Is there a way to add placeholder text to the search input field?

Something like this:

<input type="search" placeholder="My placeholder text"/>

There is a placeholder parameter on the edit and edit-text widgets you can possibly locate the code for the search and set it.

Are you refering to the sidebar search?

The tag $:/tags/SideBarSegment lists $:/core/ui/SideBarSegments/search which contains the search code. This search is using the ## keyboard-driven-input Macro
which says " To create the input field or textarea, the keyboard-driven-input macro accepts all parameters of the EditTextWidget

Solution for sideBar search
Edit $:/core/ui/SideBarSegments/search and add the parameter placeholder="Search term"to the only occurrence of keyboard-driven-input

  • Note: By editing the $:/core/ui/SideBarSegments/search tiddler you are modifying a core tiddler, if you upgrade the tiddlywiki version it will remain edited and you may not receive any updates to that tiddler.

It’s the sidebar search.

Responded editing the above tiddler because I was not sure your were “Live”, Where in the world are you @RedAsset ?, you seem closer to me in Sydney, Australia than most.

Thanks. I actually live in the United States. In the central time zone.

Ah, it’s later afternoon there. its 8:40am here :nerd_face: