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

onChange won't fire on inputs inside swal #7

Open
eraldhaklaj opened this issue Apr 18, 2021 · 1 comment
Open

onChange won't fire on inputs inside swal #7

eraldhaklaj opened this issue Apr 18, 2021 · 1 comment

Comments

@eraldhaklaj
Copy link

When using inputs on the JSX included in the swal, the onChange event doesn't fire, however the same input works just fine when used outside of swal.

I have made a simple demo of this bug at SandBox where I have placed the same component (Example.js) once in the swal and once in the App.js. The label will output "Text: {inputText}" and in the App.js works as it should, whereas in the swal, it's not showing since the onChange event won't fire.

@ZeeshanAhmadKhalil
Copy link

for checkboxes onChange is not working as well

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