We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to this comment of the HTMXAutoComplete class:
HTMXAutoComplete
django-htmx-autocomplete/autocomplete/autocomplete.py
Lines 68 to 71 in 7ee615b
It is possible to define both the model and get_items options. In that case it is say to be possible to access given model using self.Meta.model
model
get_items
self.Meta.model
But the code of the widget doesn't allow it because defining model skip the get_items override part:
django-htmx-autocomplete/autocomplete/widgets.py
Lines 69 to 80 in 7ee615b
The text was updated successfully, but these errors were encountered:
No branches or pull requests
According to this comment of the
HTMXAutoComplete
class:django-htmx-autocomplete/autocomplete/autocomplete.py
Lines 68 to 71 in 7ee615b
It is possible to define both the
model
andget_items
options. In that case it is say to be possible to access given model usingself.Meta.model
But the code of the widget doesn't allow it because defining
model
skip theget_items
override part:django-htmx-autocomplete/autocomplete/widgets.py
Lines 69 to 80 in 7ee615b
The text was updated successfully, but these errors were encountered: