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.
I could swear that the email, url, number types all supported the placeholder attribute.
I just noticed they don't. Patch coming soon.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1330024-placeholder.patch | 757 bytes | boombatower |
Comments
Comment #1
Dave ReidNot sure why they wouldn't be right now? 'placeholder' is one of the array values in element_set_attributes() in all the theme functions for those elements.
Comment #2
boombatower CreditAttribution: boombatower commentedI'm sure you can add more, I just need this for now.
Comment #3
ericduran CreditAttribution: ericduran commentedYea, I guess I was just looking at the element_info decleration at the time.
Change the title for the password element
Comment #4
Dave ReidGreat. This has been committed to both 7.x-1.x and 6.x-1.x.