Community Forum
<textarea> value localized on change
over 4 years ago by Chadwick Platt-Kuhn
We are running into an issue with our text area tags sending every value to the Localize API on change. Ex.
H
He
Hel
Hell
Hello
Anytime a user updates a <textarea>
tag, our pending phrases are flooded with useless info.
We have tried
<div data-notranslate>
<textarea></textarea>
</div>
<div>
<textarea data-notranslate></textarea>
</div>
<div notranslate>
<textarea></textarea>
<div>
<div>
<textarea notranslate></testarea>
</div>
As well as using the ignored classes and ids. None of which seems to prevent this.
Is this a bug? Or is there a setting that ignores data-notranslate
for certain html tags that we may have added somewhere on accident?
Context: This part of our site is loaded with static Html and uses the Localize cdn as described here: https://help.localizejs.com/docs/installation#step-1-install-the-code-snippet