如何在文本区域中使用引导程序的标签输入 [英] How to use tags input of bootstrap with textarea

查看:105
本文介绍了如何在文本区域中使用引导程序的标签输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在textarea中使用bootstrap的标签输入?我已经针对文本区域应用了 data-role = tagsinput 。但是标签输入不起作用,而相同的代码对于 input type = text 起作用。

How to use tags-input of bootstrap with textarea? I have applied data-role="tagsinput" against the textarea. But tags-input is not working whereas same code is working for input type="text".

推荐答案

不为Textarea元素提供支持。最好对Taginput使用Input元素。

Support is not provided for the Textarea element. It is better to use the Input element for the Taginputs.

请参阅此处以供参考:
https://github.com/TimSchlechter/bootstrap-tagsinput/issues/38

See here for reference: https://github.com/TimSchlechter/bootstrap-tagsinput/issues/38

这篇关于如何在文本区域中使用引导程序的标签输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆