[{"data":1,"prerenderedAt":63},["ShallowReactive",2],{"/2025/10/02-autocomplete-bug-in-chrome-form-field":3},{"id":4,"title":5,"body":6,"date":54,"description":51,"extension":55,"meta":56,"navigation":57,"path":58,"robots":59,"seo":60,"stem":61,"__hash__":62},"posts/2025/10/02 autocomplete-bug-in-Chrome-form-field.md","02 Autocomplete Bug In Chrome Form Field",{"type":7,"value":8,"toc":50},"minimark",[9,18,25,28,31,33],[10,11,13],"post-title",{":date":12},"date",[14,15,17],"h1",{"id":16},"pathcombine-and-pathgetfullpath","Path.Combine and Path.GetFullPath",[19,20,21],"notes",{},[22,23,24],"p",{},"This is a repost from my old blog. First posted in 9/13/2018.",[26,27],"br",{},[22,29,30],{},"I just update my website and everything works great in Firefox. As I test it in Chrome, I noticed when I navigate to another and then press the back button, my text field was populated with wrong data. The data was the default value of other text field before the navigation.",[26,32],{},[22,34,35,36,44,45,49],{},"As I was looking around, I found out that it is a bug in WebKit based browsers. Some people suggested to use ",[37,38,43],"code",{"className":39},[40,41,42],"bg-gray-200","p-2","rounded","autocomplete=\"off\""," property on all input field. But for my case, it is enough to put the attribute to all text fields ",[37,46,48],{"className":47},[40,41,42],"\u003Cinput type=\"text\"/>",".",{"title":51,"searchDepth":52,"depth":52,"links":53},"",2,[],"2025-10-02T00:00:00.000Z","md",{},true,"/2025/10/02-autocomplete-bug-in-chrome-form-field",null,{"title":5,"description":51},"2025/10/02 autocomplete-bug-in-Chrome-form-field","lh20vWTOpQlWSdDwmlNWNsOLsak3s3z4aM0-e57-ZyQ",1785167452994]