https://getbootstrap.com/docs/4.0/components/dropdowns/
$().dropdown('dispose') Erases the dropdown functionality of an element.
What exactly does this mean? Does it remove the tag entirely? Does it render the tag unusable as a dropdown list? No! When this method is called, it actually has no effect at all! Can someone provide a clear example where this method actually works?
The documentation for Bootstrap is incredibly unhelpful.