arvindvyas / Country-State-Select

It will fetch the countries and according to that fetch the state of that countries, currently it is for countries listing
MIT License
69 stars 78 forks source link

javascript isnt working on rails 5 #49

Closed eperezgarcia1201 closed 5 years ago

eperezgarcia1201 commented 7 years ago

Im using rails 5 and when i select my country i would like to get the cities of the selected country but i cant do it... i tried it in many ways already and nothing is working properly thanks

RailsCod3rFuture commented 7 years ago

I'm getting Uncaught ReferenceError: CountrySelect is not defined.

Qwertie- commented 7 years ago

@RailsCod3rFuture Try adding //= require country_state_select to application.js

RailsCod3rFuture commented 5 years ago

@Qwertie- It's working now, thanks!