On Thursday, September 8, 2016 at 4:43:24 PM UTC+1, Rupert Smith wrote:
>
> I noticed this in the package docs:
>
>    - The elm-mdl library currently support only one dialog pr. 
>    application. Installing more than one dialog will result in a random one 
>    showing.
>
> http://package.elm-lang.org/packages/debois/elm-mdl/7.6.0/Material-Dialog
>
> Is this still true? Is there a workaround, I am planning on using quite a 
> few dialogs...
>

Actually, in this case I just wanted a delete / are you sure ? type of 
interaction. A better way might be to add a div below the delete control 
that shows something like "delete 5 items are you sure ? confirm" where the 
confirm is a button, but to just make that part of the page and not a modal 
dialog. Or just make the  "delete" button change to "are you sure?" but 
that runs the risk of an accidental double click.

Anyway, it would still be nice to have >1 dialog in an application. 

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to