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