fix select options
This commit is contained in:
parent
0f00069165
commit
0501718421
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user