Is it possible to show multiple modals on page
I have made a custom Dashboard page where i would like to display two or more action buttons.
What i have done is as this first code screenshot, where i have shown custom Dashboard class.
There are two methods, one to create Expense, and another to create report.
The view, is simple:
However, only First one pops the modal. If i remove Slide from second one, still the same, only createReport shows the modal. If i remove createReport from tempalte, no modal shown.
Any ideas, why modal is not shown?
4 Replies
Solution
Not out of the box, I think this is coming to V4
ahhh i see. lost a couple hours debugging me. π
thanks mate
We basically store the state and then flip between them to avoid hundreds of html modals but I have a feeling we are allowing multiples with a condition
that would be extremely useful
making some work around is possible, i suppose, but one would expect to perhaps make some ref to a modal, and then pop correct one
anyway voting up to have posible multiuple modals on page