Old value after failed validation
Im trying to keep the old value of a select2, the data is getting from a ajax response,
and the blade code
<x-form.searchable-select-input for_label="patient_id"
label="Patient"
id="patient"
name="patient_id"
error_label="patient_id">
<option value="" selected>Select a Patient</option>
</x-form.searchable-select-input>
i tried many ways. but didnt succeeded. Old value did not select when a validation error occurs.

2 Replies