Upgrade to 4.0.0
This commit is contained in:
@@ -36,7 +36,7 @@ return [
|
||||
},
|
||||
'sanitizeOption' => function ($value) {
|
||||
$options = array_column($this->options(), 'value');
|
||||
return in_array($value, $options, true) === true ? $value : null;
|
||||
return in_array($value, $options) === true ? $value : null;
|
||||
},
|
||||
'sanitizeOptions' => function ($values) {
|
||||
$options = array_column($this->options(), 'value');
|
||||
|
Reference in New Issue
Block a user