FIX selecting price type

selecting the wanted index doesn't trigger a change event which is necessary to update  internal variables regarding the price type
This commit is contained in:
Jeppy
2024-05-30 19:15:47 +02:00
committed by Sebastian Thomschke
parent 72283bf069
commit 929459a08d

View File

@@ -552,6 +552,7 @@ class WebScrapingMixin:
{{
if(element.options[i].value == "{selected_value}") {{
element.selectedIndex = i;
element.dispatchEvent(new Event('change', {{ bubbles: true }}));
break;
}}
}}