Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Lendude on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.5.x
Introduced in version:
8.5.0-alpha1
Issue links:
Description:
Exposed filters in Views now allow you to configure a placeholder text. Support for this has been added to string filters and numeric filters.
Configuration:
The desired text can be configured in the filter settings.
Result:
The configured text will be displayed using the HTML5 placeholder tag.
Attachment | Size |
---|---|
placeholder-text.png | 77.07 KB |
configure-placeholder-text.png | 194.73 KB |
Impacts:
Site builders, administrators, editors
Module developers
Comments
No option for placeholder translation
Able to enter placeholder text, but do not see any option to translate this placeholder text in other languages.
only label and description fields available for translation.
There is an issue for that:
There is an issue for that: #3023452: Views placeholder texts are not translatable