当前位置:网站首页>Input type= "password" how to solve the problem of password automatically brought in
Input type= "password" how to solve the problem of password automatically brought in
2022-07-07 11:09:00 【Have a good time I】
use input type="password" Password box , The browser will automatically bring in the password , You can add autocomplete=“new-password”
such as
<a-input-password v-model="password" style="width:370px;margin-left:10px;" placeholder="8-15 Characters , You have to include numbers at the same time 、 english 、 Special symbols " autocomplete="new-password" @blur="handlePassword" @change="handlePasswordChange" />
Although not prompted , But click on the input box , There will still be a saved password prompt below .
By adding onblur="this.readOnly = 'readonly'"
It can solve the problem that the second click will prompt the password
perhaps
By adding readonly&onfocus =“this.removeAttribute('readonly')
; That solved the problem .
<input type="password" name="Password" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" >
This problem will still occur above , Although the password is not brought in , But the browser still brings this kind of pop-up box when clicking , It is trouble , How to get rid of . Do not use <a-input-password >
This component
<a-input type="text" class="pw" @blur="handleAgainPassword" />
<style> .pw {
-webkit-text-security: disc; } </style>
Smooth solution :
There are many ways on the Internet , But this method is currently the most effective .
边栏推荐
- Shardingsphere sub database and table examples (logical table, real table, binding table, broadcast table, single table)
- Network engineer test questions and answers in May of the first half of 2022
- Arduino board description
- Using tansformer to segment three-dimensional abdominal multiple organs -- actual battle of unetr
- Simple and easy to modify spring frame components
- Is the soft test intermediate useful??
- Interprocess communication (IPC)
- Use load_ decathlon_ Datalist (Monai) fast loading JSON data
- Deeply understand the characteristics of database transaction isolation
- What does intermediate software evaluator test
猜你喜欢
PHP \ newline cannot be output
[untitled]
Interprocess communication (IPC)
[untitled]
Cluster task scheduling system lsf/sge/slurm/pbs based on HPC scenario
从色情直播到直播电商
JSON format query of MySQL
[untitled]
Qtcreator sets multiple qmake
Using tansformer to segment three-dimensional abdominal multiple organs -- actual battle of unetr
随机推荐
Seata 1.3.0 four modes to solve distributed transactions (at, TCC, Saga, XA)
The seventh training assignment
Online hard core tools
[système recommandé 01] rechub
MPX plug-in
Using tansformer to segment three-dimensional abdominal multiple organs -- actual battle of unetr
Mysql的json格式查询
长列表性能优化方案 memo
uniCloud
【安装系统】U盘安装系统教程,使用UltraISO制作U盘启动盘
[untitled]
How to prepare for the advanced soft test (network planning designer)?
[STM32] actual combat 3.1 - drive 42 stepper motors with STM32 and tb6600 drivers (I)
[untitled]
TypeScript 接口继承
Qtcreator sets multiple qmake
SQL Server 知识汇集11 : 约束
Operation method of Orange Pie orangepi 4 lts development board connecting SATA hard disk through mini PCIe
Project ERROR: Unknown module(s) in QT: core gui
Hash / (understanding, implementation and application)