When adding the address component and making it *required*, it then shows first name, last name, and company, which are not options that can be disabled from the Webform Component UI. Is this a noted bug? Is there any way to disable first name, last name, and company?

Comments

mcpuddin created an issue. See original summary.

jrockowitz’s picture

Status: Active » Postponed (maintainer needs more info)

First Name, Last Name, and Company should only be displaying for the 'Contact' webform element.

Can replicate this issue using the latest dev release? Please include a screenshot and steps.

mcpuddin’s picture

Status: Postponed (maintainer needs more info) » Active

So I installed this on a brand new Drupal and was not able to reproduce this. And then I realized that we had the https://www.drupal.org/project/address module enabled which seems to be taking over that. So I enabled that and then I was able to reproduce this error. So steps:

1) Enable Webform
2) Add a form with an address component
3) Confirm that it looks OK
4) Install address module with composer
5) Take a look at the address form again

jrockowitz’s picture

Status: Active » Fixed

I am almost certain that this is fixed in the latest beta6 release. Please reopen, if you are still having problems.

mcpuddin’s picture

Confirm, fixed!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.