Button styles are incorrect.

Button styles are incorrect.

jbnvjbnv Posts: 9Questions: 4Answers: 1

Here's the HTML for the Copy button from the Button Styles: Bootstrap 5 page:

<button class="btn btn-secondary buttons-copy buttons-html5" tabindex="0" aria-controls="example" type="button"><span>Copy</span></button>

Here's the HTML I'm getting for my Copy button:

<button class="dt-button buttons-copy buttons-html5" tabindex="0" aria-controls="employers_table" type="button"><span>Copy</span></button>

So clearly the problem is that I'm getting the dt-button class instead of the btn and btn-secondary classes. What's the problem and how do I resolve it?

Answers

Sign In or Register to comment.