Need custom Css class option for Dropdown/Datepicker similar to Tooltip
See original GitHub issueI need to assign a custom Css class to the dropdown of Dropdown and Datepicker. Need similar api to existing tooltipClass
option for Tooltip. We are using container="body"
for both Dropdown and Datepicker and sometimes we need to assign custom theme coloration to the Dropdown and Datepicker via a Css class.
I also noticed that Modal and Popover already have a similar Css class option.
Thanks!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Adding custom class to tooltip - Stack Overflow
I have tried many different solutions but i allways end up adding a class to the element that triggers the tooltip. This is...
Read more >Options — bootstrap-datepicker documentation - Read the Docs
All options that take a “Date” can handle a Date object; a String formatted ... A String representing additional CSS classes to apply...
Read more >Jquery datepicker along with custom tooltips for textbox. - MSDN
Hello,. I have a page that enables user to input some data in various textboxes and dropdownlists. I've used the jquery datepicker for...
Read more >jQuery UI Tooltip tooltipClass Option - GeeksforGeeks
The jQuery UI Tooltip tooltipClass option is used to add various tooltip styles using CSS properties on the class. Syntax:.
Read more >Tooltip - jQuery UI
When you hover the element with your mouse, the title attribute is displayed in a little box next to the element, just like...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have a similar issue but I need to override the z-index of the div.dropdown element created on the body to fix an issue where the dropdown is appearing behind the popover that has the drop down toggle.
Is there perhaps another way to target this div.dropdown element on the body to add this z-index?
@hughanderson4 You can add a custom class on Dropdown. No change is needed on ng-bootstrap side. i.e:
and css: