Amplify-js: Password Input- Chrome Warnings

Created on 17 Jan 2018  ·  9Comments  ·  Source: aws-amplify/amplify-js

Chrome (version 63.0.3239.132) is throwing the following warning with the default login screen:

[DOM]  Password field is not contained in a form: (More info: https://goo.gl/9p2vKq)

Amplify version 0.1.34

bug

Most helpful comment

@powerful23 This is still returning the warning
for the following code

            <form className="myform" onSubmit={this.validateLogin()}>
               <div className="myformgroup">
                   <label>Email</label>
                   <input type="text" placeholder="Email" id="email" required></input>
                </div>
                <div className="myformgroup">   
                   <label>Password</label>
                   <input type="password" placeholder="Password" id="password" required></input>
               </div>
               <div className="myformgroup">
                   <button type="submit" id="loginButton">Login</button>
               </div>
            </form>

_Error is_
[DOM] Password field is not contained in a form: (More info: https://goo.gl/9p2vKq)

All 9 comments

Thank you for using the library and reporting this @bbernays !

This issue is in our backlog

@bbernays we are closing this issue. Please feel free to reopen it if you still have this problem. Thanks!

@powerful23 This is still returning the warning
for the following code

            <form className="myform" onSubmit={this.validateLogin()}>
               <div className="myformgroup">
                   <label>Email</label>
                   <input type="text" placeholder="Email" id="email" required></input>
                </div>
                <div className="myformgroup">   
                   <label>Password</label>
                   <input type="password" placeholder="Password" id="password" required></input>
               </div>
               <div className="myformgroup">
                   <button type="submit" id="loginButton">Login</button>
               </div>
            </form>

_Error is_
[DOM] Password field is not contained in a form: (More info: https://goo.gl/9p2vKq)

Hello, I also encountered the same problem, may I ask how to solve it finally?

Have the same issue. Can someone suggest any help?

Estou com o mesmo problema

type类型改成其他就没事了

This issue absolutely still exists exactly the same way it was in January, 2018. Why was it closed?

Here is the warning, in today's version of AWS Authenticator and Chromium version 76.0.3809.100:
[DOM] Password field is not contained in a form: (More info: https://goo.gl/9p2vKq).

Using NPM packages aws-amplify (version 1.2.4) and aws-amplify-angular (version 3.1.4).

Hello, I also encountered the same problem, however when I use Firfox without any error message,
may I ask how to solve it finally?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

callmekatootie picture callmekatootie  ·  3Comments

TheRealRed7 picture TheRealRed7  ·  3Comments

oste picture oste  ·  3Comments

ldgarcia picture ldgarcia  ·  3Comments

benevolentprof picture benevolentprof  ·  3Comments