Marcell Posted March 13, 2021 Share Posted March 13, 2021 Hey, I've addded Hungary's states to the StatesDropdown.js file in the assets/js folder but for some reason it doesn't work. It works OK with other countries such as the default defined ones. Here is the code. states['HU'] = ["Bács-Kiskun","Baranya","Békés","Borsod-Abaúj-Zemplén","Csongrád","Fejér","Győr-Moson-Sopron","Hajdú-Bihar","Heves","Jász-Nagykun-Szolnok","Komárom-Esztergom","Nógrád","Pest","Somogy","Szabolcs-Szatmár-Bereg","Tolna","Vas","Veszprém","Zala","end"]; Am I missing anything? The Syntax looks good. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 13, 2021 Share Posted March 13, 2021 26 minutes ago, Marcell said: Am I missing anything? The Syntax looks good. any chance the site is caching? it works for me locally... 0 Quote Link to comment Share on other sites More sharing options...
Marcell Posted March 13, 2021 Author Share Posted March 13, 2021 (edited) @brian! I do apologize, it was cache indeed. Looking hot now 🙂 Edited March 13, 2021 by Marcell 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.