Autocomplate covers label floating

<IonInput

              value={user.email}

              onIonChange={handlerOnchangedInput}

              type="email"

              name="email"

              autocomplete="email"

              className="mt-2"

              required

            ></IonInput>

When reloading the page and already having autocompletes saved in the browser, the attribute value does not detect the text, because what floating does not change the style, these are two problems since the state is not with the value and the style is wrong, thanks