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 want to use the "Address" field Form API field in a webform. However, the module automatically takes my address #type as per Issue #2848042 (I would reopen this issue but I am not a maintainer) and turns it into webform_address. If you create a webform via code or through the UI (the text based one) you should be able to choose. I think this solution would be more inline with the principle extend don't override.
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedAddress field is not currently supported by the Webform module.
Please see #2858971: Address module support.
If you install the patch from
#type: address
would stop being transformed into#type: webform_address
.