undefinedfix
Sign in

Password field is not contained in a form?

lostamusement86 edited in Mon, 22 Aug 2022

Error password field is not contained in a form is prompted on the login page of meteor and Vue items, and the content cannot be entered in the input box? How should this be changed? The page code is as follows:

 <div class="login-form">
      <div>
         <el-input placeholder="请输入手机号">
            <font-awesome-icon :icon="['fas', 'user']" slot="prepend">
            </font-awesome-icon>
         </el-input>
       </div>
       <div>
         <el-input placeholder="请输入密码" type="password">
            <font-awesome-icon :icon="['fas', 'lock']" slot="prepend">
            </font-awesome-icon>
         </el-input>
       </div>
      <div style="margin-top: 12px;">
         <el-button type="primary" @keyup.enter.native="login">登 录</el-button>
     </div>
</div>
1 Replies
user618075
commented on Mon, 22 Aug 2022

El input plus V-model

lock This question has been locked and the reply function has been disabled.