{{-- ? To set: * required: input_id as string for id tag array option: label as string html input_name as string if empty = input_id input_class as string for custom css class in input field input_attr as string for custom attr in input field {{ ! activ in textarea ! }} title as string for tooltip img_src as string accept_format as string default image optional qr required as boolean default false multiple as boolean default false max_file_size as float in MB -> default 15 MB dont_auto_show_scanner as boolean default flase ? To implement in Blade: * @includeIf('layouts.components.image_manager', [ 'input_id' => 'example', ]) --}} @php $component_name = 'image_manager'; @endphp @if ( !empty($input_id) ) {{-- @section('section-css') @parent @once @endonce @stop --}}
@if ( !empty($label) ) @endif
{{-- --}}
@error ( $input_name ?? $input_id )
{{ $message }}
@enderror
{{-- @section('section-js') @parent @once @endonce @stop --}} @endif