Dynamic dropdown widget is not showing values correctly in Google Chrome