Use a specialty dropdown when adding practitioners.
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:
isaacclad
2026-07-18 17:39:29 +00:00
co-authored by Cursor
parent 2ac84faf73
commit 18c24077e3
8 changed files with 127 additions and 8 deletions
@@ -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>