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

confirmation for toggle switch #124

Closed
smohammedyasin opened this issue Mar 12, 2017 · 2 comments
Closed

confirmation for toggle switch #124

smohammedyasin opened this issue Mar 12, 2017 · 2 comments
Labels

Comments

@smohammedyasin
Copy link

Hi,

How can i show confirmation popup before set "ON" Or "OFF".
i have found very good script in jquery bootstrap. https://jsfiddle.net/hL0as0mv/122/ .
could any one help me get same way in angluar switch.

Appreciate for Best & Quick response

@frapontillo
Copy link
Owner

You can use switch-change to do whatever you want and eventually revert to the inverse value if the confirmation is not successful.

Please re-open the issue if you still have this problem.

@vidyashreejy
Copy link

Please explain how to use switch-change to pop up a confirmation modal before toggling the switch. I'm new to angular so please help me. thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants