【发布时间】:2015-01-23 17:22:37
【问题描述】:
这是生成的 DOM:
<input class="form-control col-md-11 input ng-scope ng-animate ng-dirty ng-valid-required ng-invalid ng-invalid-minlength" type="password" value="" placeholder="*******" ng-model="user.confirmpassword" required="required" maxlength="80" autocomplete="off" ng-minlength="6" tooltip="Passwords do no match" tooltip-trigger="true" tooltip-placement="right" style="-webkit-transition-timing-function: initial, initial; transition-timing-function: initial, initial; -webkit-transition-delay: initial, initial; transition-delay: initial, initial;">
在 HTML 中:
<div class="col-md-9 text-left"><input class="form-control col-md-11 input" type="password" Value="" placeholder="*******" ng-model="user.confirmpassword" required="required" maxlength="80" autocomplete="off" ng-minlength="6" tooltip="Passwords do no match" tooltip-trigger="{{user.password !== user.confirmpassword}}" tooltip-placement="right"></div>
工具提示触发器为真,但仍然没有工具提示的迹象。有什么,我做错了吗?
【问题讨论】:
-
页面上是否还有其他工具提示?我只能猜测你没有在页面上包含正确的 js/css。
-
@Scott 简短回答是。我有一个,但那不是一个表情。这是一个直接的。没有表情。
标签: angularjs twitter-bootstrap tooltip