close #322 hook select element selectedIndex property
This commit is contained in:
@@ -292,6 +292,8 @@ function initInputObserver(
|
||||
[HTMLInputElement.prototype, 'checked'],
|
||||
[HTMLSelectElement.prototype, 'value'],
|
||||
[HTMLTextAreaElement.prototype, 'value'],
|
||||
// Some UI library use selectedIndex to set select value
|
||||
[HTMLSelectElement.prototype, 'selectedIndex'],
|
||||
];
|
||||
if (propertyDescriptor && propertyDescriptor.set) {
|
||||
handlers.push(
|
||||
|
||||
Reference in New Issue
Block a user