This commit is contained in:
@ -65,7 +65,7 @@ class Label extends Control implements Actionable, Linkable, NewLineable, MultiL
|
||||
/**
|
||||
* @var int $actionKey Action key
|
||||
*/
|
||||
protected $actionKey = -1;
|
||||
protected $actionKey = null;
|
||||
|
||||
/**
|
||||
* @var string $url Url
|
||||
@ -651,7 +651,7 @@ class Label extends Control implements Actionable, Linkable, NewLineable, MultiL
|
||||
if ($this->action) {
|
||||
$domElement->setAttribute("action", $this->action);
|
||||
}
|
||||
if ($this->actionKey >= 0) {
|
||||
if ($this->actionKey) {
|
||||
$domElement->setAttribute("actionkey", $this->actionKey);
|
||||
}
|
||||
if ($this->url) {
|
||||
|
@ -98,7 +98,7 @@ class Quad extends Control implements Actionable, BackgroundColorable, BgColorab
|
||||
/**
|
||||
* @var int $actionKey Action key
|
||||
*/
|
||||
protected $actionKey = -1;
|
||||
protected $actionKey = null;
|
||||
|
||||
/**
|
||||
* @var string $url Link url
|
||||
@ -676,6 +676,8 @@ class Quad extends Control implements Actionable, BackgroundColorable, BgColorab
|
||||
* @api
|
||||
* @param CheckBoxDesign $checkBoxDesign CheckBox Design
|
||||
* @return static
|
||||
* @deprecated Use CheckBoxDesign::applyToQuad()
|
||||
* @see CheckBoxDesign::applyToQuad()
|
||||
*/
|
||||
public function applyCheckBoxDesign(CheckBoxDesign $checkBoxDesign)
|
||||
{
|
||||
|
Reference in New Issue
Block a user