fix(form): ensure state field styles don't break when changing country #3255
As a donor, in the billing details, I want to change the country without the State field styles breaking so that form display is consistent.
I currently get different styles applied to the State field in the billing details when I change the country and try to change back.
It works currently in twenty seventeen, but when you change to any other theme this functionality breaks.
I expect to be able to change the country and the form styles stay consistent.
Steps to Reproduce
For this example, I used twenty sixteen.
Screencast of the issue:
WordPress System Info### WordPress Environment ###
Home URL: http://give.local
Hosting Provider: DBH: localhost, SRV: give.local
Give Version: 2.1.2
Give Use Sessions: Enabled
Active Give Add-ons
Give - 2Checkout Gateway:
Other Active Plugins
Duplicate Post: by Enrico Battocchi – 3.2.2
Email Cop: by Ashfame – 0.1.1
Active MU Plugins
Bypass Login: by Stephen Carnam – 1.1.0
Name: Twenty Sixteen