Is there a way to tell Firefox not to remember the state of my input fields on page refresh?

后端 未结 4 1626
逝去的感伤
逝去的感伤 2021-02-07 00:21

Firefox has a very annoying feature. It remembers the state of input fields when you hit F5. It\'s not just the value, it remembers even whether the input is disabled or not.

4条回答
  •  走了就别回头了
    2021-02-07 00:50

    You can set the element or the form to autocomplete="off" to disable state preservation, but that also disables input autocomplete, of course.

提交回复
热议问题