Title: State issue
Last modified: August 22, 2018

---

# State issue

 *  Resolved [markpasztor](https://wordpress.org/support/users/markpasztor/)
 * (@markpasztor)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/state-issue/)
 * Dear Developers,
 * The plugin is working fine. I only have one issue with it.
    After I truned on
   the plugin, the state combobox dissapeared from the checkout page and I only 
   get a text box (without the value of the user state).
 * Html part before activate the plugin:
    <select name=”billing_state” id=”billing_state”
   class=”state_select select2-hidden-accessible” autocomplete=”address-level1″ 
   data-placeholder=”” tabindex=”-1″ aria-hidden=”true”> <option value=””>Válassz
   egy opciót…</option> <option value=”BK”>Bács-Kiskun</option> <option value=”BE”
   >Békés</option> <option value=”BA”>Baranya</option> <option value=”BZ”>Borsod-
   Abaúj-Zemplén</option> <option value=”BU”>Budapest</option> <option value=”CS”
   >Csongrád</option> <option value=”FE”>Fejér</option> <option value=”GS”>Győr-
   Moson-Sopron</option> <option value=”HB”>Hajdú-Bihar</option> <option value=”
   HE”>Heves</option> <option value=”JN”>Jász-Nagykun-Szolnok</option> <option value
   =”KE”>Komárom-Esztergom</option> <option value=”NO”>Nógrád</option> <option value
   =”PE”>Pest</option> <option value=”SO”>Somogy</option> <option value=”SZ”>Szabolcs-
   Szatmár-Bereg</option> <option value=”TO”>Tolna</option> <option value=”VA”>Vas
   </option> <option value=”VE”>Veszprém</option> <option value=”ZA”>Zala</option
   > </select>
 * And after activate it:
    <input type=”text” class=”input-text” name=”billing_state”
   id=”billing_state” placeholder=””>
 * How can I fix it?
 * Thank you for your help!
 * Best regards,
    Mark

Viewing 1 replies (of 1 total)

 *  Plugin Author [Diego](https://wordpress.org/support/users/daigo75/)
 * (@daigo75)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/state-issue/#post-10614288)
 * The State field is indeed a plain input field, which is transformed into a dropdown
   and populated by WooCommerce using JavaScript. If that doesn’t work, then it 
   means that there is a JavaScript error somewhere. The error interrupts the execution
   of the scripts on the page, so the State field remains “plain”.
 * **Possible causes**
    The most common cause of JavaScript errors is a conflict
   caused by another plugin, or by the theme. The easiest way to check this is to
   open the browser console and reload the checkout page. That will show where the
   error is, and give some indication on which element could be causing it.
 * Features like JavaScript minification can also cause that kind of errors (JavaScript
   minification doesn’t always work properly, depending on how it’s performed). 
   In such case, disabling minification, or excluding the affected scripts, will
   solve the issue.

Viewing 1 replies (of 1 total)

The topic ‘State issue’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-eu-vat-assistant/assets/icon.svg?rev=1057426)
 * [EU VAT Assistant for WooCommerce](https://wordpress.org/plugins/woocommerce-eu-vat-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-eu-vat-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-eu-vat-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-eu-vat-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-eu-vat-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-eu-vat-assistant/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Diego](https://wordpress.org/support/users/daigo75/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/state-issue/#post-10614288)
 * Status: resolved