LibWeb: Don't trigger onchange event when setting <select> value

(cherry picked from commit 5d00211a8605b0fab9f330082699f6f089961052)
This commit is contained in:
Arhcout
2024-09-25 10:56:02 +02:00
committed by Nico Weber
parent 2740d7d17b
commit 0845de1018
3 changed files with 27 additions and 1 deletions

View File

@@ -294,7 +294,6 @@ WebIDL::ExceptionOr<void> HTMLSelectElement::set_value(String const& value)
for (auto const& option_element : list_of_options())
option_element->set_selected(option_element->value() == value);
update_inner_text_element();
queue_input_and_change_events();
return {};
}