不使用 <form> 标签时禁用工具提示 "Please fill out this field" (DNN)

Disable tooltip "Please fill out this field" when not using <form> tag (DNN)

设置 'novalidate' 或 'formnovalidate' 不会解决此问题

我正在使用 DNN 框架。这个框架将每个页面包装在一个表单标签中,这打破了我的自定义表单。为了通过这个,我在标签上使用了 ng-form。因为这个修复,我总是看到默认的工具提示,即使我使用的是引导程序 uib-tooltip。我愿意尽可能 jQuery 来解决这个问题,但是我读到 post 显然 Chrome 和 Firefox 都禁用了 select 和编辑的能力默认工具提示。示例:

<div role="form" ng-form="myForm" novalidate>
    <div class="form-group">
        <label>
            <input type="text" id="Identifier" name="Identifier" ng-minlength="3" ng-maxlength="14" class="form-control" ng-model="$ctrl.Identifier" ng-required="true" uib-tooltip="{{ $ctrl.tooltips.identifier }}" tooltip-enable="myForm.Identifier.$invalid && myForm.Identifier.$touched">
        </label>
    </div>
</div>

显示"Please fill out this field"。如何删除默认工具提示?

多亏了 jscher2000 的 this post,我才得以找到解决方法。只需添加一个 'title' 标签并将其内容设置为空 space。简单地传递空引号是行不通的,空引号之间必须至少有 1 space。示例:

<input type="text" name="Name" title=" ">

谢谢。