fix simple command (e.g. stop)

This commit is contained in:
2025-05-05 14:01:18 +02:00
parent fae76f2ae1
commit 07bd5407e0
5 changed files with 30 additions and 20 deletions

View File

@ -223,7 +223,12 @@ function createValue (component) {
value.classList.add('col-right-value-with-write-permission');
}
value.setAttribute('name', component.name);
value.__ctype__ = 'rdonly';
if (component.type == 'pushbutton') {
console.log('CREATE', component.name);
value.__ctype__ = 'none';
} else {
value.__ctype__ = 'rdonly';
}
return value;
}