Hide server password in server options

This commit is contained in:
Beu
2023-05-25 13:03:31 +02:00
parent cc46f63155
commit 32e00a8051
3 changed files with 74 additions and 4 deletions

View File

@ -143,6 +143,30 @@ class CheckBox implements Renderable, ScriptFeatureable
return $this->feature->getDisabledDesign();
}
/**
* Set script launched when clicking on the checkbox
*
* @api
* @param string $customScript script
* @return static
*/
public function setCustomScript(string $customScript)
{
$this->feature->setCustomScript($customScript);
return $this;
}
/**
* Get script launched when clicking on the checkbox
*
* @api
* @return string
*/
public function getCustomScript()
{
return $this->feature->getCustomScript();
}
/**
* Set the disabled design
*