diff --git a/src/components/inputs/ToolInput.vue b/src/components/inputs/ToolInput.vue index acf715ef..03cca5bb 100644 --- a/src/components/inputs/ToolInput.vue +++ b/src/components/inputs/ToolInput.vue @@ -22,7 +22,6 @@ this.max_temp) { - this.value = this.target; + this.value = { value: this.target, text: this.target } this.$toast.error("Temperature too high for "+this.name+"! (max: "+this.max_temp+")") } else if (this.value < this.min_temp && this.value != 0) { - this.value = this.target; + this.value = { value: this.target, text: this.target } this.$toast.error("Temperature too low for "+this.name+"! (min: "+this.min_temp+")") } else { const gcode = this.command+' '+this.attributeName+'='+this.name+' TARGET='+this.value