diff --git a/web/dashboard/src/components/pos2/pos2-screen.tsx b/web/dashboard/src/components/pos2/pos2-screen.tsx index 43f40f1..839607e 100644 --- a/web/dashboard/src/components/pos2/pos2-screen.tsx +++ b/web/dashboard/src/components/pos2/pos2-screen.tsx @@ -767,15 +767,6 @@ function Ticket({ - @@ -784,13 +775,22 @@ function Ticket({ onNote(l.menuItem.id, e.target.value)} + onBlur={() => { if (!l.notes) setNoteFor((cur) => (cur === l.menuItem.id ? null : cur)); }} placeholder="یادداشت برای آشپزخانه (مثلاً بدون شکر)" autoFocus={noteFor === l.menuItem.id} maxLength={200} dir="rtl" className="mt-2 w-full rounded-lg border border-border/70 bg-background px-2.5 py-1.5 text-sm outline-none focus:border-primary" /> - ) : null} + ) : ( + + )} ))}