Turn off the ability to remember passwords when the element ui component uses multiple input boxes

 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" class="demo-ruleForm" label-width="85px">
          
          <el-form-item label=":" prop="oldPassWord">
            <el-input v-model="ruleForm.oldPassWord" type="password" auto-complete="off"></el-input>
          </el-form-item>
          <el-form-item label=":" prop="newPassWord">
            <el-input v-model="ruleForm.newPassWord" type="password" auto-complete="off"></el-input>
          </el-form-item>
          <el-form-item label=":" prop="checkPassWord">
            <el-input v-model="ruleForm.checkPassWord" type="password" auto-complete="off"></el-input>
          </el-form-item>
</el-form>

 
 <input type="password" style="display:none">   

what does this password remembering function specifically refer to?


do you write the attribute wrong? Try autocomplete= "off" instead of auto-complete= "off"


randomly generate name. Prevent browsers from automatically remembering

Menu