Skip to content
New issue

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

Merge with modalDialog #6

Closed
alexsilve opened this issue Jan 16, 2019 · 3 comments
Closed

Merge with modalDialog #6

alexsilve opened this issue Jan 16, 2019 · 3 comments

Comments

@alexsilve
Copy link

Hi Paul,
I am trying to configure your logout.R to add a pop-out window. What I want to achieve is to transfer current log-out button to a modal button and then logout by activating an actionbutton added to modalDialog. But what I got is a pop-out window when log-in.
Could you tell me which part I should change? I must added to the wrong location.

Thanks a lot.

@PaulC91
Copy link
Owner

PaulC91 commented Jan 16, 2019

Hi. I won't be able to help without seeing any of your code. If you could post a minimal example I'll try and diagnose the issue. Thanks.

@alexsilve
Copy link
Author

thanks for your reply. I used a work-around. Basically I edit modalDialog footer as
footer = tagList(shiny::actionButton("logout-button", "Yes", class = "btn-danger", style = "color: white;")
in shiny server and add
observeEvent(input$"logout-button",{
removeModal()
})

Anyway, a great package. Really help me a lot.
Thanks again.

@PaulC91
Copy link
Owner

PaulC91 commented Jan 17, 2019

Glad to hear you found a solution and thanks for the kind words!

@PaulC91 PaulC91 closed this as completed Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants