阅读背景:

即使类型为= " emali "的输入字段不为空,按钮仍然被禁用

来源:互联网 

I have a form with input type="email". Now I need the submit button to be disabled until the input field is empty, however if the user enters anything the button should be enabled. Using ng-disabled on the button, but the problem is that the button remains disabled even after I enter something into the field and remains disabled until I enter a valid email id. My guess that the html5 validation occurs before the angular js functionality can evoke or something like that.I have a form with input type="email". Now I ne




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: