【问题标题】:Add input in Angular bootstrap confirm module在 Angular 引导程序确认模块中添加输入
【发布时间】:2016-05-18 16:56:53
【问题描述】:

我正在尝试使用 Matt 的 Angular Bootstrap Confirm

在他的demo(click here)中,提到可以在消息中使用html。他的代码:

Are you really <b>sure</b> you want to do this? 

我改成

Are you really <b>sure</b><br> you want to do this? 

它仍然有效。但是如果我尝试添加任何复杂的元素,比如输入或按钮,它就不起作用了。

Enter <b>Yes</b><br> <input type='text'> <br>and click 'Yes'

有没有办法在消息中添加输入或文本区域?

【问题讨论】:

    标签: angularjs twitter-bootstrap popover angular-bootstrap uipopover


    【解决方案1】:

    您必须根据源代码分叉他们的代码,它正在使用一个类,因此您无法通过接口执行此操作。

    https://github.com/mattlewis92/angular-bootstrap-confirm/blob/master/src/angular-bootstrap-confirm.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-09-15
      • 1970-01-01
      • 2020-08-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-06-22
      相关资源
      最近更新 更多