wintercms / wn-translate-plugin

Translate plugin for Winter CMS
MIT License
14 stars 18 forks source link

prevents browser autofill off translated inputs #70

Closed der-On closed 8 months ago

der-On commented 1 year ago

Some browsers (like Firefox) aggressivly autofill inputs (event hidden ones) when not providing the autocomplete="off" attribute. In Firefox this was preventing the inputs to display the correct values when switching the language even after a page refresh/reload.

LukeTowers commented 1 year ago

This is a hidden field, why would autocomplete have any effect on it?

der-On commented 1 year ago

This is a hidden field, why would autocomplete have any effect on it?

That's what I've observed with firefox. Adding this fixed my issues with inputs not updating to correct values after switching the language.