@php $id = $field['id']; $inputName = 'data[' . $id . ']'; $hiddenName = 'data[' . $id . '__shop_id]'; $errorKey = 'data.' . $id; $inputId = 'field_' . str_replace(['-', '_', '.'], '_', $id); $required = $field['required'] === true; $oldVal = old($errorKey); $oldShopId = old('data.' . $id . '__shop_id'); // Compute the DOM id of the field to pre-fill on shop pick (empty = no pre-fill) $addressPrefill = isset($field['address_prefill']) ? 'field_' . str_replace(['-', '_', '.'], '_', $field['address_prefill']) : ''; @endphp
@if(!empty($field['label_bn']))

{{ $field['label_bn'] }}

@endif @error($errorKey) @enderror