问题
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"
.
回答1:
Support is not provided for the Textarea element. It is better to use the Input element for the Taginputs.
See here for reference: https://github.com/TimSchlechter/bootstrap-tagsinput/issues/38
来源:https://stackoverflow.com/questions/27922454/how-to-use-tags-input-of-bootstrap-with-textarea