Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use tags input of bootstrap with textarea tag (data-role="tagsinput")

 <textarea id="Box" class="tags form-control" placeholder="X Axis values"></textarea>

i want show user selected options in text box area in tag wise with remove option.

How to use tags-input of bootstrap with textarea? I have applied data-role="tagsinput". But tags-input is not working. as we know, we have the same issue in Stackoverflow. but for that no solution.

need solution/hint for this How to use tags input of bootstrap with textarea

like image 993
Sudheer babu Avatar asked Dec 13 '25 14:12

Sudheer babu


1 Answers

Bootstrap tags-input does not work with textarea. Support is not provided.

However you can use it with input type="text" and apply the following css to make it work like textarea.

.bootstrap-tagsinput {
min-height: 100px;
}

See this link

like image 113
abhit Avatar answered Dec 15 '25 08:12

abhit



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!