Firefox: FormFragment hidden fields disabled

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Firefox: FormFragment hidden fields disabled

Marvin Monroe
so today I found a weird bug: Firefox stores the disabled attribute of
hidden formfragments between page reloads.
It's the browser's autocomplete feature that can be turned off by adding
the attribute autocomplete="off" to either form or input field.
This behavior prevents form fields from being set correctly in the
page/component as the field's hidden action sink command is not transmitted.

I could add more details but the best fix would be if the form fragment
would create its hidden action sink fields with autocomplete="off".

Or is there another workaround?
Anyway, just wanted to share this, since it cost me some time debugging ;)