提交按钮
也使用@scope
<form ng-show="!subscribeSuccess" ng-submit="subscribeNewsLetter(subscribEmailAddress)" novalidate>
<input type="email" name="subscribEmailAddress" placeholder="SHOP.SUBSCRIBE_PLACEHOLDER" ng- model="subscribEmailAddress" translate>
<button type="submit" name="commit" class="action-button" translate>SHOP.SUBSCRIBE</button>
</form>
答案 0 :(得分:1)
使用novalidate
属性:
<input type="email" novalidate/>
novalidate
属性只是告诉浏览器禁用内置HTML5验证,或忽略您可能使用的任何HTML5验证属性。
答案 1 :(得分:0)
禁用验证,您的电子邮件地址转到范围
喜欢<input type="text" />