Unload action to remove the generated HTML and the hidden data-attribute...

....

Use: $('.selectpicker').selectpicker('unload'); to unload selectpicker.