This commit is contained in:
Muhammad Thoriq 2025-12-04 17:16:44 +07:00
commit 57c29e9dc3

View File

@ -547,6 +547,12 @@
@if ($isConsentQuestion) data-consent-input="1" required @endif
@if($formLocked) disabled @endif
placeholder="Masukkan jawaban Anda">
@elseif ($type === 'number')
<input type="number" class="form-control @error('jawaban.' . $detail->id) is-invalid @enderror"
name="jawaban[{{ $detail->id }}]" value="{{ $currentAnswer }}"
data-field-hal="{{ $detailHal }}"
@if ($isConsentQuestion) data-consent-input="1" required @endif
@if($formLocked) disabled @endif>
@elseif ($type === 'option_with_range')
@if ($rangeMin !== null && $rangeMax !== null)
<div class="range-slider-wrapper" data-range-wrapper="{{ $detail->id }}">