fix: only update / send temp commands on blur if they are changed
Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
1 file changed
+1
-1
@@ -59,7 +59,7 @@ export default class ToolInput extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
onBlur(event: any) {
|
||||
if ('target' in event && event.target && 'value' in event.target) {
|
||||
if ('target' in event && event.target && 'value' in event.target && this.value !== event.target.value) {
|
||||
this.value = event.target.value ?? this.value
|
||||
this.setTemps()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user