unicorn:model Doesn't Seem to Trigger Loading States #541
Unanswered
kraig-droid
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, Just getting into django-unicorn. Nice work Adam et al! A question:
Suppose I have the following:
where the component uses search_term to determine which things to display:
Unfortunately, unicorn:loading doesn't seem to be triggered by unicorn:model, so 'Searching...' never shows up.
I was able to work around this for radio inputs (that take a long time) by adding a unicorn:click="dummy_method" (def dummy_method(self): pass)
Is there a way to get unicorn:model to trigger loading? Or any ideas for a workaround for a debounced input? Or how to reorganize to trigger the loading?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions