-
-
Notifications
You must be signed in to change notification settings - Fork 406
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
[Bug] append-to-body tag auto submit form #389
Comments
For the second problem: My suggestion is that you remove |
Thanks for your quick reply. |
v3.2.2 fixed the button type. |
I updated the vue2-datepicker version to 3.2. After that I had to rewrite my datepicker implementations. In my case I use different bootstrap vue modals to handle forms. In these forms I have datepickers but the calendar appears behind the modal (screenshot) so I added :append-to-body="false" to use the calendar again. After that I noticed that by changing the month (with the arrows) my form will automatically submitted.
Here is a quick example (without modal):
If I delete the append-to-body tag the arrows from the calendar would not submit the form.
Any ideas how to fix it?
Vue2-datepicker version: 3.2.1
Vue version: 2.6.10
Browser: Firefox
The text was updated successfully, but these errors were encountered: