Actions
Bug #77238
closedplaceholder attribute is only rendered if sword is empty
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2016-07-25
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
On Location Sprint
Description
The search form renders the placeholder HTML5 attribute only if the form is called/submitted without any search words.
Steps to reproduce¶
- submit search form with a search word
- empty search text input field without re-submitting the form
Current behaviour¶
Placeholder does not show unless search form is called without any search word.
Expected behaviour¶
Upon clearing the field, placeholder should immediately become visible on HTML5, i.e. placeholder attribute should be present regardless of whether sword is empty or not.
Solution¶
The required patch is trivial (just move placeholder marker definition out of empty
condition) and will be attached or committed for review in a few minutes. Placeholders don't seem to be used in TYPO3 8 any more, so the issue applies only to TYPO3 7 and below.
Actions