diff --git a/src/Bllim/Laravalid/FormBuilder.php b/src/Bllim/Laravalid/FormBuilder.php index 67608d7..5f491cf 100644 --- a/src/Bllim/Laravalid/FormBuilder.php +++ b/src/Bllim/Laravalid/FormBuilder.php @@ -122,11 +122,11 @@ public function textarea($name, $value = null, $options = []) /** * {@inheritdoc} */ - public function select($name, $list = [], $selected = null, array $selectAttributes = [], array $optionsAttributes = []) + public function select($name, $list = [], $selected = null, array $selectAttributes = [], array $optionsAttributes = [], array $optgroupsAttributes = []) { $selectAttributes += $this->getValidationAttributes($name); - return parent::select($name, $list, $selected, $selectAttributes, $optionsAttributes); + return parent::select($name, $list, $selected, $selectAttributes, $optionsAttributes, $optgroupsAttributes); } /**