fix select options

This commit is contained in:
Kavalar 2024-07-26 16:21:26 +03:00
parent 0f00069165
commit 0501718421

View File

@ -73,9 +73,9 @@ class Select extends BaseInput
* @param $options * @param $options
* @return $this * @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; return $this;
} }