]> _ Git - cubist_cms-back.git/commitdiff
wait #6427
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 19 Oct 2023 07:48:40 +0000 (09:48 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 19 Oct 2023 07:48:40 +0000 (09:48 +0200)
src/resources/views/fields/select2_from_array.blade.php

index c0e97f556a789fda1f975abe99130c38d0f68242..216197b3f516cfd2a12e229428a729e0fda4dc06 100644 (file)
@@ -39,7 +39,7 @@ if($ajax){
     @if($ajax) data-ajax="{{$field['ajax']}}" @endif
     @if($allows_html) data-allow-html="1" @endif
     data-options="{{ json_encode($field['options']) }}"
-    @if($field['free']) data-free="1" @endif
+    @if(isset($field['free']) && $field['free']) data-free="1" @endif
     data-value="{{is_scalar($o)?$o:json_encode($o)}}"
 >
     @if (isset($field['allows_null']) && $field['allows_null']==true)