more fixes

This commit is contained in:
konnorrogers
2025-06-05 17:35:32 -04:00
parent b7bfc57a77
commit d4173dc498

View File

@@ -376,9 +376,7 @@ export default class WaSlider extends WebAwesomeFormAssociatedElement {
} else {
// Handle value for single thumb mode
if (changedProperties.has('value')) {
if (this.value != null) {
this.value = clamp(this.value, this.min, this.max);
}
this.value = clamp(this.value, this.min, this.max);
this.setValue(String(this.value));
}
}