Format values in value confirmation modal to prevent overflow.

This commit is contained in:
Julian Stirling 2025-08-28 17:00:14 +01:00
parent bb29c50032
commit 764d34c766
2 changed files with 52 additions and 1 deletions

View file

@ -11,6 +11,7 @@
</template>
<script>
import { formatValue } from "@/js_utils/formatter.mjs";
import InputFromSchema from "./inputFromSchema.vue";
export default {
@ -105,7 +106,7 @@ export default {
} else {
this.animate = true;
await this.modalNotify(
`Set ${this.label} to ${newVal} (closest valid value to requested ${requestedValue}).`
`Set ${this.label} to ${formatValue(newVal)} (closest valid value to requested ${formatValue(requestedValue)}).`
);
}
} else {