@php // ids stay unique when a page renders more than one single-image dropzone $uid = $input_id ?? \Illuminate\Support\Str::slug($name, '-'); $fileId = 'input-' . $uid; $removedId = 'removed-' . $uid; @endphp