We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74379df commit fec16a4Copy full SHA for fec16a4
src/widget/select.js
@@ -384,7 +384,7 @@ angularWidget('select', function(element){
384
if (existingOption.id !== option.id) {
385
lastElement.val(existingOption.id = option.id);
386
}
387
- if (existingOption.selected !== option.selected) {
+ if (existingOption.element.selected !== option.selected) {
388
lastElement.prop('selected', (existingOption.selected = option.selected));
389
390
} else {
0 commit comments