fix(Field): should not modify the value if it's within the min/max (#13282)
This commit is contained in:
@@ -346,7 +346,9 @@ export default defineComponent({
|
|||||||
props.min ?? -Infinity,
|
props.min ?? -Infinity,
|
||||||
props.max ?? Infinity,
|
props.max ?? Infinity,
|
||||||
);
|
);
|
||||||
value = adjustedValue.toString();
|
if (+value !== adjustedValue) {
|
||||||
|
value = adjustedValue.toString();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user