react-tagsinput icon indicating copy to clipboard operation
react-tagsinput copied to clipboard

Feature: Bootstrap integration

Open dbkaplun opened this issue 8 years ago • 5 comments

Would be nice if there was a Component or even simply an example that uses the label class for tags and form-control for the <input>. This works great with the prepackaged style but making it work with Bootstrap is a bit different.

dbkaplun avatar Dec 04 '15 23:12 dbkaplun

Sorry for not getting back to you sooner @dbkaplun, I will look into bootstrap integration.

olahol avatar Jan 16 '16 17:01 olahol

I'd also like to use an input like this with bootstrap, especially if it can do autocomplete (using a given array) to avoid typos.

But i'd also have to note that there is value in components that are not dependent on a big front-end framework.

barrystaes avatar Mar 01 '16 10:03 barrystaes

+1

rkovacevic avatar Mar 13 '16 21:03 rkovacevic

You could pass in renderTag, renderInput and renderLayout props to get the correct html. For the input classes, you can use inputProps with className (see the docs).

It seems like this would be enough to render the bootstrap component with the correct markup and classes.

Personally, I agree with @barrystaes about not being dependent on another framework.

@barrystaes - I want to hear your input about autocomplete on #69.

oscar-g avatar Apr 09 '16 21:04 oscar-g

I was also looking for bootstrap support, but as mentioned, the component is extremely flexible, and can be made bootstrap-compatible with the custom properties. A well designed component imo!

koliyo avatar Sep 20 '16 13:09 koliyo