We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e49566e + 9b20a32 commit e7ab6b7Copy full SHA for e7ab6b7
src/resources/views/crud/fields/select2_from_array.blade.php
@@ -20,7 +20,7 @@
20
21
@if (count($field['options']))
22
@foreach ($field['options'] as $key => $value)
23
- @if((old(square_brackets_to_dots($field['name'])) && (
+ @if((old(square_brackets_to_dots($field['name'])) !== null && (
24
$key == old(square_brackets_to_dots($field['name'])) ||
25
(is_array(old(square_brackets_to_dots($field['name']))) &&
26
in_array($key, old(square_brackets_to_dots($field['name'])))))) ||
0 commit comments