From cbc461be33e7fcd264133bcf9ba3d8cb8a684602 Mon Sep 17 00:00:00 2001 From: Lukas Lieb Date: Mon, 9 Dec 2024 15:29:39 +0100 Subject: [PATCH] XIVY-13132 Validations - Fix static options validations --- .../editor/src/editor/sidebar/fields/table-field/TableField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/editor/sidebar/fields/table-field/TableField.tsx b/packages/editor/src/editor/sidebar/fields/table-field/TableField.tsx index 95555f92..15b67360 100644 --- a/packages/editor/src/editor/sidebar/fields/table-field/TableField.tsx +++ b/packages/editor/src/editor/sidebar/fields/table-field/TableField.tsx @@ -128,7 +128,7 @@ export const TableField = ({ }; const ValidationRow = ({ row, validationPath }: { row: Row; validationPath: string }) => { - const message = useValidation(`${validationPath}.${row.index}`); + const message = useValidation(`${validationPath}.[${row.index}]`); const cells = row.getVisibleCells(); return ( <>