Now, if a user click to a link on the page, and then navigate backward with the "go one page back" button, v-model binded fields are there. This might be why I don't see much posts about it. I don't remember why, but I used autocomplete="off" in my forms :-(. The autocomplete attribute to off disables this feature. The persistence feature is enabled by default. īut, in fact, autocomplete is "on" by default : If you connect your PC to an external display, Windows 11 can remember where you had those windows when you leave, come back, and reconnect.6 This feature. If you don’t have one, you can still change the settings by using mouse options in the classic Control. Instead, I used autocomplete="on" in my forms. Note: The option in Windows 10 Settings will only show up if you have a precision touchpad. So, I ended up thinking this was really related to forms. I put some verbose log on my component to try to catch the lifecycle hook when browser going back and none of them printed. Heads-Up: This shortcut may not work at first. Really amazing and definitely worth remembering and using to get faster and more efficient in Excel. I also tried "keep-alive" without success. If you select the row below our numbers at the bottom, and the empty column to the right, you will get all the SUMs in one move. I think it might have to deal with lifecycle hooks.Īctually, on my component, I fetch the data when "mounted". In my Edit get method, I used this line to grab the previous URL and it worked fine: ViewBag.ReturnUrl Request. Since my Edit method wasn't using the default mapped input parameter id, I first tried using that to pass in the previous URL. Most posts about this behavior are connected to vue-router, that I do not use. I am trying to change this Edit method to redirect back to the previous page (not Index). There is no data bound in v-model input fields anymore. However, I noticed that if i navigate to another page and then hit the browser "go back one page" button, the form is there (the DOM in the template) but empty. The user may modify those datas from the form and submit. I have a form set component that fetch data through ajax to populate the form set.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |