1 Commits
0.1.1 ... 0.1.2

Author SHA1 Message Date
0501718421 fix select options 2024-07-26 16:21:26 +03:00

View File

@ -73,9 +73,9 @@ class Select extends BaseInput
* @param $options
* @return $this
*/
public function setOptions($options)
public function setOptions($options): static
{
$this->options = array_merge($options, $this->options);
$this->options = $options + $this->options;
return $this;
}