-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Labels
Description
Version
2.6.11
Reproduction link
https://jsfiddle.net/jc26tewa/
Steps to reproduce
- Type "Hello" in the message input field.
- Click on the link "Another page".
- Click on the browser back button.
- Click on the "Submit" button.
What is expected?
It is expected that the input field be blank or that Vue recognises its current value and shows "Submitted message: Hello" after clicking on the Submit button.
What is actually happening?
In Chrome, the input field contains the value it had before leaving the page, but Vue thinks the field is empty, so nothing happens when you click on the Submit button. In other browsers, the input field is blank after clicking on the back button.
sandipbiswasbehala, fredacheng, paramdhal, jefrydco, jlahtinen and 4 more