mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
more fixes
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user