Skip to content

Commit 3ee7b3c

Browse files
committed
wip
1 parent 8714e0e commit 3ee7b3c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/Forms/Controls/MultiSelectBox.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public function getControl(): Nette\Utils\Html
7373
}
7474

7575

76+
/** @deprecated use setOptionAttribute() */
7677
public function addOptionAttributes(array $attributes): static
7778
{
7879
$this->optionAttributes = $attributes + $this->optionAttributes;

src/Forms/Controls/SelectBox.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ public function getControl(): Nette\Utils\Html
106106
}
107107

108108

109+
/** @deprecated use setOptionAttribute() */
109110
public function addOptionAttributes(array $attributes): static
110111
{
111112
$this->optionAttributes = $attributes + $this->optionAttributes;

0 commit comments

Comments
 (0)