问题标签 [bootstrap-tags-input]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
twitter-bootstrap-3 - Bootstrap3 标签输入中缺少样式表
我纠结这个bug很久了。Bootstrap3 TagsInput 中缺少样式表(在我的网站上)
- 这是我的网站:
我的代码是:
$('#TagForm').tagsinput('input').typeahead({
prefetch: '/api/tag/list'
}).bind('typeahead:selected', $.proxy(function (obj, datum) {
this.tagsinput('add', datum.value);
this.tagsinput('input').typeahead('setQuery', '');
}, $('#TagForm')));
- 这是官方网站:
而官网的代码是:
我把我的代码和官网的代码对比了一下,没有发现问题。
angularjs - 尝试在 Plunker 中重新创建 Bootstrap 3、Angular JS 和 Typeahead 演示示例
我正在尝试使用 Bootstrap 3、Angular 和 Typeahead 获得一个正常工作的 Plunker,但我发现缺少一些样式,而且我的模型似乎没有正确绑定。我直接从演示页面复制了代码:
http://plnkr.co/edit/8BWdTjV3xllp6OWaMRFq
我在这里使用了所有正确的 JS 和 CSS 库吗?
jquery - Bootstrap标签输入绑定问题
我有一种情况,我需要记住在进行更改之前 tagsinput 字段的值是什么。但是,某些信息是动态绑定的,因此当输入更改时,引用它的变量的值也会更改。
所以我想要的是没有添加到它 Lisa
的变量。newone
但是使用引导标签输入 jQuery 插件,变量会随着值动态变化。任何人都知道如何关闭此绑定,以便我可以回忆在添加新信息之前该字段的值是什么?
jquery - 引导标记输入,提前输入 freeInput
我想使用带有预输入值的引导标记输入 jquery 插件。它的效果很好,因为我在输入时看到了预先输入的值,但我想这样做,这样用户就不能输入他们自己的值。遵循来自http://timschlechter.github.io/bootstrap-tagsinput/examples/bootstrap3/的文档。我尝试了 freeInput: false 变量,但它仍然允许任何条目。这是代码:
看到我做错了什么吗?
javascript - bootstrap:输入和预输入中的标签
我正在尝试以包含在这样的模式中的表单使用引导标签输入
此外,我正在尝试使用带有以下代码的twitter typeahead
你可以在上面的图片中看到结果是什么。在这种情况下,问题是预输入建议不包含在圆角框架中
jquery - 使用引导标签输入工作
我一直在尝试使用引导标签输入,例如此链接中的示例:http: //timschlechter.github.io/bootstrap-tagsinput/examples/ 这是我的代码:
但是代码似乎不起作用。关于如何完成这项工作的任何想法或想法?谢谢!
css - 引导标签输入宽度
我正在尝试以包含在这样的模式中的表单使用引导标签输入
正如您在上图中看到的,我看不出为什么输入没有包含表单的宽度。
更新 这个http://www.bootply.com/f43d1A0YxK重现了这个问题
jquery - Bootstrap tags input not working with lazyload
I have a modal that is launched by clicking any one of several images on a page where there is an input field to which I am trying to apply bootstrap-tagsinput.
I am assigning the value and data-role attributes with lazyload to the following input field:
Once I launch the modal I can see that the attributes are present but the tags are not applied. What am I doing wrong?
css - Bootstrap 3 tag list with input group
I try to make a tag list (like in stackoverflow) using a bootstrap 3 input group.
The result should look similar to this with a full height button on the right:
The base for my considerations looks like this:
Here is my attempt to make a tag list out of it (please note that it should have multiple lines)
HTML:
CSS:
However, that doesn't work as expected.
asp.net-mvc-4 - MVC4 使用 bootstrap-tagsinput 为引导标记文本框赋值
使用 bootstrap-tagsinputs 插件,我想在加载视图时为文本框分配值。
传递给视图的值格式是“a,b,c”
这有效
@Html.TextBoxFor(model => model.mylist, new {@class = "form-control"})
但是当我添加 data_role = "tagsinput" 它不起作用
也尝试过但没有运气
如何配置使其显示在文本框中?
谢谢,