Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 19, 2023
1 parent a7196ce commit 27a16cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Forms/Controls/MultiSelectBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public function getControl(): Nette\Utils\Html

public function addOptionAttributes(array $attributes): static
{
// deprecated ???
$this->optionAttributes = $attributes + $this->optionAttributes;
return $this;
}
Expand Down
1 change: 1 addition & 0 deletions src/Forms/Controls/SelectBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ public function getControl(): Nette\Utils\Html

public function addOptionAttributes(array $attributes): static
{
// depre?
$this->optionAttributes = $attributes + $this->optionAttributes;
return $this;
}
Expand Down

0 comments on commit 27a16cf

Please sign in to comment.