fix clipboard if no tooltip

This commit is contained in:
Beu
2025-07-25 17:04:40 +02:00
parent e113d30490
commit fd252c28d2

View File

@@ -71,6 +71,9 @@ class Clipboard extends ScriptFeature
}
$this->control = $control;
if ($this->control instanceof Scriptable) {
$this->control->setScriptEvents(true);
}
if ($this->value !== null) {
$this->setValue($this->value);