Bug With Firefox – Disabled Attribute of Input Not Resetting When Refreshing

This is a “feature” of Firefox which remembers form input values across page refreshes. To fix this behavior, you simply set autocomplete="off" on the form containing the inputs, or just directly to the input.

This stops autocomplete from working and prevents the browser from remembering the state of input fields.

Alternatively, you can just “hard-refresh” by clicking CTRL+F5. This will completely reset the current page.

Leave a Comment