skip to Main Content

I have those hints enter image description here

Have can I remove it from browser by android?

Is this possible with JavaScript?

2

Answers


  1. something like:

    const MyTextInput = () => {
      return (
        <View>
          <TextInput
            autoCorrect={false}
          />
        </View>
      );
    };
    

    With the autoCorrect={false} property set, the word suggestions and corrections should be disabled for the TextInput in your app.

    Login or Signup to reply.
  2. In HTML, disable the autocomplete, spellcheck, autocorrect, and autocapitalize attributes on the <input> element.

    <input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />

    Do you want to do it through JavaScript? Use the setAttribute() method.

    const text = document.getElementById("text");
    
    text.setAttribute("autocomplete", "off");
    text.setAttribute("autocorrect", "off");
    text.setAttribute("autocapitalize", "off");
    text.setAttribute("spellcheck", "false");
    <input type="text" id="text" />
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search