From 0501718421203f721cfa750d3d703ed613cd72b7 Mon Sep 17 00:00:00 2001 From: Kavalar Date: Fri, 26 Jul 2024 16:21:26 +0300 Subject: [PATCH] fix select options --- src/inputs/Select.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inputs/Select.php b/src/inputs/Select.php index 06d2f35..eb98892 100755 --- a/src/inputs/Select.php +++ b/src/inputs/Select.php @@ -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; }