UI: apply 5% floor to vehicle limit slider (#32462)

This commit is contained in:
Michael Geers 2026-08-03 08:59:44 +02:00 • committed by GitHub
parent 43349e43fb
commit 6fd2947509
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -324,7 +324,7 @@ export default defineComponent({
movedLimitSoc(e: Event) {
const value = parseInt((e.target as HTMLInputElement).value, 10);
e.stopPropagation();
const minLimit = this.heating ? this.lowerBound : 20;
const minLimit = this.heating ? this.lowerBound : 5;
if (value < minLimit) {
(e.target as HTMLInputElement).value = minLimit.toString();
this.selectedLimitSoc = value;