#21278Pre-fill Value for the search input field problem?
Description
TYPO3 4.2
Indexed Search 2.11.1
This is the usual config line:
<input name="tx_indexedsearch[sword]" type="text" value="|">
I changed it to:
<input name="tx_indexedsearch[sword]" type="text" value="Search" onfocus="Clear(this);" onblur="Clear(this);">
I search for “TYPO3” string. Now if I hit the search button, then I get to the search results page. This is ok. Works well. The problem is that the value “TYPO3” which I searched for is pushed out of this tag and now it looks something like this:
<input name="tx_indexedsearch[sword]" type="text" value="Search" onfocus="Clear(this);" onblur="Clear(this);">TYPO3
This messes my layout and I have no control over this text. I can make the text the same color as the background, which will make it “disappear” but still, it will be there and it will mess the layout
HELP? :)
Thanks
(issue imported from #M12243)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.