Use a specialty dropdown when adding practitioners.
Deploy Ladill Care / deploy (push) Successful in 26s
Deploy Ladill Care / deploy (push) Successful in 26s
Replace free-text specialty on practitioner and team-invite forms with a shared selectable list so clinicians pick a known specialty. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -11,7 +11,13 @@
|
||||
</div>
|
||||
<div>
|
||||
<label class="block text-sm font-medium">Specialty (optional)</label>
|
||||
<input type="text" name="specialty" value="{{ old('specialty', $practitioner->specialty) }}" class="mt-1 w-full rounded-lg border-slate-300 text-sm">
|
||||
<select name="specialty" class="mt-1 w-full rounded-lg border-slate-300 text-sm">
|
||||
<option value="">None</option>
|
||||
@foreach ($specialties as $specialty)
|
||||
<option value="{{ $specialty }}" @selected(old('specialty', $practitioner->specialty) === $specialty)>{{ $specialty }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
@error('specialty')<p class="mt-1 text-sm text-red-600">{{ $message }}</p>@enderror
|
||||
</div>
|
||||
<fieldset>
|
||||
<legend class="block text-sm font-medium">Branches</legend>
|
||||
|
||||
Reference in New Issue
Block a user