rework process flow, compact contact cards, add GKV autocomplete
remove sprechstunde_absolviert as separate step, merge diagnosis + dringlichkeitscode into erstgespräch form, add 116117 hint, fix TSS wording, make process steps expandable/collapsible, align advance buttons right, compact contact list with status-encoded icon buttons, add delete button on kontaktversuche, add GKV krankenkasse autocomplete with datalist, add deleteKontakt hook Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -9,6 +9,7 @@ import { getDb } from "@/shared/db/client";
|
||||
import type { ProzessSchritt } from "@/shared/db/schema";
|
||||
import { dbExec } from "@/shared/hooks/use-db";
|
||||
import { PROZESS_SCHRITTE } from "@/shared/lib/constants";
|
||||
import { GKV_KASSEN } from "@/shared/lib/gkv-kassen";
|
||||
|
||||
export function OnboardingForm() {
|
||||
const navigate = useNavigate();
|
||||
@@ -128,11 +129,17 @@ export function OnboardingForm() {
|
||||
<Label htmlFor="krankenkasse">Krankenkasse</Label>
|
||||
<Input
|
||||
id="krankenkasse"
|
||||
list="gkv-kassen"
|
||||
value={field.state.value}
|
||||
onBlur={field.handleBlur}
|
||||
onChange={(e) => field.handleChange(e.target.value)}
|
||||
placeholder="TK"
|
||||
placeholder="z.B. Techniker Krankenkasse"
|
||||
/>
|
||||
<datalist id="gkv-kassen">
|
||||
{GKV_KASSEN.map((k) => (
|
||||
<option key={k} value={k} />
|
||||
))}
|
||||
</datalist>
|
||||
<FieldErrors errors={field.state.meta.errors} />
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user