diff --git a/apps/frontend/app/components/Form/TextField.tsx b/apps/frontend/app/components/Form/TextField.tsx index 3e98ceb..c21f25c 100644 --- a/apps/frontend/app/components/Form/TextField.tsx +++ b/apps/frontend/app/components/Form/TextField.tsx @@ -2,6 +2,7 @@ import type { AnyFieldMeta } from '@tanstack/react-form'; import { LucideEye, LucideEyeClosed } from 'lucide-react'; import { useCallback, useId, useState } from 'react'; import { InfoIcon, type InfoIconProps } from '../info'; +import { Text } from '@radix-ui/themes'; export type TextFieldProps = { label?: string; @@ -32,6 +33,11 @@ export function TextField({ label, value, onChange, labelProps, labelDivProps, s {label && (
{label} + {rest?.required && ( + + * + + )} {infoIconProps && }
)}