sqladmin
sqladmin copied to clipboard
Asynchronous loading altertive to `QuerySelectField`
Checklist
- [X] There are no similar issues or pull requests for this yet.
Is your feature related to a problem? Please describe.
I need a QuerySelectField
alternative that can fetch a limited number of items on demand like autocomplete_fields in Django admin, instead of loading entire records of the related (possibly very huge) table when rendering the page.
Describe the solution you would like.
No response
Describe alternatives you considered
No response
Additional context
No response
Hi @okapies That would be form_ajax_refs
and it's a WIP in https://github.com/aminalaee/sqladmin/pull/149. It needs a bit of change in the main logic but definitely a must-have.
#272
Merged in https://github.com/aminalaee/sqladmin/pull/292 and will be available in 0.5.0
.