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.
Is there a way to remove default text when before typing?
Right now only when you start typing something in the search box the default text disappear and it will great to make it disappear before typing.
Thanks ahead
Comments
Comment #1
jdanthinne CreditAttribution: jdanthinne commentedUnfortunately, this is the default behavior of the HTML 5 "placeholder" attribute, so if you want to change that, you'll need to write custom javascript code…