用户体验很好的密码校验js

<div class="form-group" data-reactid=".0.1.1.0.1.1.3.0.1.1">
<
label for="passwordInput" class="control-label" data-reactid=".0.1.1.0.1.1.3.0.1.1.0">Password</label>
<
input name="password" id="passwordInput" type="password" value=""
autocomplete
="off" class="form-control" data-reactid=".0.1.1.0.1.1.3.0.1.1.1" maxlength="255">
</
div>

https://login.run.pivotal.io/login

u.createElement(g,i(
{name:"password",id:"passwordInput",
type:"password",label:r,value:t,
maxLength:p?p.maxLength:null,displayError:!!b,
errorMessage:w},v,
{onChange:this.changeHandler}))
原文地址:https://www.cnblogs.com/softidea/p/6663575.html