Exemption state field shown as text input
bporcelli opened this issue · 0 comments
bporcelli commented
The "Where does this exemption apply?" is shown as a text input instead of a dropdown if the shipping country for the WC_Customer
is something other than US. This is enabling users to enter invalid values like "Georgia". For example:
To fix, hard-code the country
as US
in the args array for the relevant woocommerce_form_field()
function call.