Hi,
I ran into an issue. HTML elements of type "select" don't invoke USPS validation. Because in Drupal.behaviors.address_usps behavior there is this line:

var inputFields = element.find('input')

instead:

var inputFields = element.find('input, select')

I propose to make this replacement.

Comments

fandm created an issue. See original summary.

alexander_danilenko’s picture

Thank you for reporting!

Fixed in dev version, just used jQuery ':input' selector. Please update module and provide feedback :)

alexander_danilenko’s picture

Status: Active » Fixed

  • danilenko_dn committed fe8b592 on 8.x-1.x
    Issue #2879418 by fandm: HTML select elements don't invoke USPS...
alexander_danilenko’s picture

andrii-severynenko’s picture

Hi,
It works well now. Thanks!

Status: Fixed » Closed (fixed)

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