Spent hours today looking for the following: I have a #Flask app with #sqlalchemy. I use #flaskadmin for a big part of functionality.
I need to pass a custom query for a select field that is a #foreignkey between Table A and table B. I try to accomplish that while being in the list view (the table view) for all entries in Table A, where each record has a foreignkey from Table B to only show those records in the select field for the foreignkey that are B.active==true.Is there a way to do this?