This commit is contained in:
konnorrogers
2025-11-17 13:41:19 -05:00
parent 43296b55a4
commit 342eff6256

View File

@@ -518,8 +518,8 @@ export default class WaSelect extends WebAwesomeFormAssociatedElement {
private handleClearClick(event: MouseEvent) {
event.stopPropagation();
this.hasInteracted = true
this.valueHasChanged = true
this.hasInteracted = true;
this.valueHasChanged = true;
if (this.value !== null) {
this.setSelectedOptions([]);
@@ -605,8 +605,8 @@ export default class WaSelect extends WebAwesomeFormAssociatedElement {
if (this.disabled) return;
this.hasInteracted = true
this.valueHasChanged = true
this.hasInteracted = true;
this.valueHasChanged = true;
// Use the directly provided option if available (from getTag method)
let option = directOption;