madmin
madmin copied to clipboard
Selecting associated models
I was wondering if it was possible to enable using associated models during creation. For example, I am trying to create a model which has some associations. It's an Activity model which belongs_to an ActivityCategory model. During creation on the /madmin panel I can't select any category. Same goes other way around. Is there a way to select these?
@excid3
This would be a huge timesaver for us, I'm having to edit all forms of models that have associations in order to get this feature. Perhaps the association scope could be an option of the attribute
method when defining the resource? Or perhaps it could default to Model.all to at least get something usable out of the box.