bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Add support for Bootstrap Icons on floating label forms

Open mdo opened this issue 4 years ago • 1 comments

Screen Shot 2021-05-06 at 3 47 11 PM

Biggest concern would be that this has specific HTML requirements (icon must come first), but we already have that with this component so it might not be a huge deal. I made it so that the .form-floating-icon was a wrapper vs the the actual SVG/image so that placement becomes super easy (center center via flexbox).

mdo avatar May 06 '21 22:05 mdo

To make sure it works with selects maybe add one to the example.

I also wonder whether it would make sense to share some code/structure/class-names with the solution from #31667.

alecpl avatar May 07 '21 07:05 alecpl