What is best practice for :loading on multiple Q-Btns?
-
I have a component that renders a dynamic list that includes an action button for each list. For :loading on that button I use a global inProgress variable that is set to true before my post request, then it is set to false when the request receives a response. This works great, except that it makes all the buttons spin like they are loading whenever 1 is hit.
Do you guys have a good pattern for using keyed loading parameters or something?
-
-
That’s perfect, thank you.