rails_admin change dropdown enum with javascript

469 views Asked by At

I've override rails_admin edit and new form and controller via routes, and added a javascript to watch for on change of country dropdown, and refreshed the state dropdown.

but i couldn't find a way to replace the dropdown for state or manipulate the list. does anyone know what script is rails_admin using for drop down?

I've tried to manipulate the select dropdown, but its been replaced and hidden by a script.

0

There are 0 answers