diff --git a/components/ExerciseModal.tsx b/components/ExerciseModal.tsx index ff32c26..e84df02 100644 --- a/components/ExerciseModal.tsx +++ b/components/ExerciseModal.tsx @@ -78,6 +78,7 @@ const ExerciseModal: React.FC = ({ isOpen, onClose, onSave, }} type="text" autoFocus + autocapitalize="words" /> {error && (

{error}

diff --git a/components/FilledInput.tsx b/components/FilledInput.tsx index 7445a26..aedf34c 100644 --- a/components/FilledInput.tsx +++ b/components/FilledInput.tsx @@ -9,9 +9,10 @@ interface FilledInputProps { autoFocus?: boolean; step?: string; inputMode?: "search" | "text" | "email" | "tel" | "url" | "none" | "numeric" | "decimal"; + autocapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters"; } -const FilledInput: React.FC = ({ label, value, onChange, type = "number", icon, autoFocus, step, inputMode }) => ( +const FilledInput: React.FC = ({ label, value, onChange, type = "number", icon, autoFocus, step, inputMode, autocapitalize }) => (
); diff --git a/server/prisma/dev.db b/server/prisma/dev.db index f7513f9..6a11c8e 100644 Binary files a/server/prisma/dev.db and b/server/prisma/dev.db differ