Refresh selectpicker boostrap 4. - Song Nghia - Technical Consultant

Dynamic 365 FO Dynamic 365 Retail

Thứ Ba, 14 tháng 5, 2019

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');