Answer the question
In order to leave comments, you need to log in
How to make dependent dropdowns in rails_admin?
Good afternoon. I can't figure out how to do the following:
There are two models, Site and Page
In the pages table, there is a site_id field (the id of the site that the page belongs to)
Using the rails_admin gem, create a page with DEPENDENT dropdowns
That is, we clicked create page (page), the first thing we select is site, then depending on the site field, we update the page drop-down list (now it displays pages belonging only to the selected site)
I would be grateful for any help! Happy New Year everyone! :-)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question