{{-- Editable Field Component - AdminLTE style A field with display value and edit button that opens a modal Usage: Additional information about the field... --}} @props([ 'label', 'value', 'placeholder' => null, 'editing' => false, 'editClick' => null, 'cancelClick' => null, 'saveClick' => null, 'applyClick' => null, 'applyLabel' => 'Save & Apply', 'error' => null, ])
{{ $value ?? 'Not set' }} @if($editClick) @endif
@if($editing !== false)

Edit {{ $label }}

whereStartsWith('wire:model') }} class="editable-field-lte-input" placeholder="{{ $placeholder ?? 'Enter ' . strtolower($label) }}" />
@if($error)
{{ $error }}
@endif @if(isset($hint))
{{ $hint }}
@endif
@endif