We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9144f0 commit defa2c2Copy full SHA for defa2c2
src/widget/select.js
@@ -389,7 +389,7 @@ angularWidget('select', function(element){
389
if (existingOption.id !== option.id) {
390
lastElement.val(existingOption.id = option.id);
391
}
392
- if (existingOption.selected !== option.selected) {
+ if (existingOption.element.selected !== option.selected) {
393
lastElement.prop('selected', (existingOption.selected = option.selected));
394
395
} else {
0 commit comments