progress penggaris

This commit is contained in:
JokoPrasetio 2025-12-03 15:52:02 +07:00
parent 7a44867011
commit 2205bc6a27

View File

@ -410,21 +410,21 @@
value="{{ $currentAnswer }}"
data-dual-hidden="{{ $detail->id }}"
data-field-hal="{{ $detailHal }}"
@if ($isConsentQuestion) data-consent-input="1" @endif
@if ($isConsentQuestion) data-consent-input="1" required @endif
@if($formLocked) disabled @endif>
</div>
@elseif ($type === 'textarea')
<textarea class="form-control @error('jawaban.' . $detail->id) is-invalid @enderror"
name="jawaban[{{ $detail->id }}]" rows="4"
data-field-hal="{{ $detailHal }}"
@if ($isConsentQuestion) data-consent-input="1" @endif
@if ($isConsentQuestion) data-consent-input="1" required @endif
@if($formLocked) disabled @endif
placeholder="Tulis jawaban Anda di sini">{{ $currentAnswer }}</textarea>
@elseif ($type === 'text')
<input type="text" 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" @endif
@if ($isConsentQuestion) data-consent-input="1" required @endif
@if($formLocked) disabled @endif
placeholder="Masukkan jawaban Anda">
@elseif ($type === 'option_with_range')
@ -465,6 +465,7 @@
data-range-min-value="{{ $rangeMin }}"
data-range-max-value="{{ $rangeMax }}"
data-field-hal="{{ $detailHal }}"
@if ($isConsentQuestion) data-consent-input="1" required @endif
@if($formLocked) disabled @endif>
</div>
@ -490,7 +491,7 @@
<input type="text" 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" @endif
@if ($isConsentQuestion) data-consent-input="1" required @endif
@if($formLocked) disabled @endif
placeholder="Masukkan jawaban Anda">
@endif
@ -526,7 +527,7 @@
data-original-value="{{ $optionLabel }}"
data-lainnya-radio="{{ $isLainnya ? $detail->id : '' }}"
data-field-hal="{{ $detailHal }}"
@if ($isConsentQuestion) data-consent-input="1" @endif
@if ($isConsentQuestion) data-consent-input="1" required @endif
@if($formLocked) disabled @endif
{{ $shouldCheck || $autoSelect ? 'checked' : '' }}>
<label class="form-check-label" for="{{ $optionId }}">