fix: connected labels to inputs, improving accessibility and testability

This commit is contained in:
Dan Ditomaso
2025-02-28 14:59:17 -05:00
parent 593c08f3e0
commit fa85e83817
8 changed files with 34 additions and 21 deletions
+1
View File
@@ -53,6 +53,7 @@ export function GenericInput<T extends FieldValues>({
}
step={field.properties?.step}
value={field.type === "number" ? Number.parseFloat(value) : value}
id={field.name}
onChange={(e) => {
if (field.inputChange) field.inputChange(e);
onChange(