angularjs-dropdown-multiselect icon indicating copy to clipboard operation
angularjs-dropdown-multiselect copied to clipboard

Doesn't work with Bootstrap 4

Open palenshus opened this issue 6 years ago • 5 comments

Doesn't appear to work well with bootstrap 4. The styling is completely stripped, the checkmarks are gone and the lines are all blue, and the horizontal rule is gone.

palenshus avatar Apr 21 '18 02:04 palenshus

:+1: +1

moisesbaddini avatar Sep 06 '18 22:09 moisesbaddini

For anyone who needs a shim of sorts to fix the missing functionality.

  • Make sure you add a reference to FontAwesome to replace the deprecated web icons
  • In the JS for "angularjs-dropdown-multiselect", replace "glyphicon glyphicon-ok" with "fas fa-check"
  • In the JS for "angularjs-dropdown-multiselect", replace "glyphicon glyphicon-remove" with "fas fa-times"
  • Add the following to your CSS sheet:

div[ng-dropdown-multiselect] > div > ul > li.divider { margin-top: 5px !important; margin-bottom: 5px !important; height: 1px; background-color: #e5e5e5; } div[ng-dropdown-multiselect] > div > ul > li > a:hover { text-decoration: none; } div[ng-dropdown-multiselect] > div > ul > li:hover { background-color: #F5F5F5; }

Scottbee avatar Jul 08 '19 18:07 Scottbee

@Scottbee Thank you for the tips on making some of adm functional. I was curious if you had the chance to do "All" the leg work required for the bootstrap 4 conversion? If not, I'll jump in and post whatever it is i discover along the way. cheers friend.

kwestberg avatar Aug 13 '19 02:08 kwestberg

Hi @kwestberg , I'm afraid I can't guarantee that my findings account for all the bugs that might be present. These fix the most obvious ones for me in my environment and device targets.

Scottbee avatar Aug 13 '19 12:08 Scottbee

@Scottbee I understand. Shortly after finding this post I discovered a sea of v3 to v4 migration sites. After a bit of [search & destroy] in template... its humming along. Thanks for the inspiration.

kwestberg avatar Aug 13 '19 13:08 kwestberg