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.
#1241938: Add support for #placeholder to relevant Field API widgets was committed to core before telephone module was, so we need to ensure that we support editing the placeholder value for telephone widgets as well.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1942902-telephone-widget-placeholder-option.patch | 3.26 KB | Dave Reid |
Comments
Comment #1
Dave ReidPatch that adds the same widget functionality and tests that the email module has.
Comment #2
Dave ReidAnd yes, I consider this a bug since the other field types that support placeholders have this option, but telephone doesn't.
Comment #3
mtiftThis one makes sense to me, especially since it makes the telephone field type behave like the email field type. The patch applied cleanly for me and the tests worked correctly.
Comment #4
xjm#1: 1942902-telephone-widget-placeholder-option.patch queued for re-testing.
Comment #5
xjmComment #6
catchCommitted/pushed to 8.x, thanks!