You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. A new file: /resources/views/vendor/voyager/formfields/custom_field.blade.php
@php$values=$dataTypeContent->{$row->field};if (is_string($values)) { $values=json_decode($values, true); }if (empty($values)) { $values=array(); }@endphp
<divclass="custom-field is-field-{{camel_case($row->field)}}">
You can do anything here. Good luck !
PS: Use $values to get te actual data, in form of an array.
</div>
@php$dataTypeContent->{$row->field} =$values; @endphp
3. Add in your app/Providers/AppServiceProvider.php