Refresh selectpicker boostrap 4.

Refresh selectpicker boostrap 4.

Song Nghia - Technical Consultant

Select picker boostrap usually have issues. 

This is the best way to append or html oftion to select.

$('#projectFilter').selectpicker('refresh').empty().append(listOftionHtml).selectpicker('refresh').trigger('change');


Previous Post
Next Post

post written by: