From 7ce5c84758c506ecadfa798f09f2789a2106b7cf Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sun, 22 Oct 2023 18:14:34 +0200 Subject: [PATCH] fix improve component docs --- .../apps/editor/componentsPanel/componentControlUtils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/components/apps/editor/componentsPanel/componentControlUtils.ts b/frontend/src/lib/components/apps/editor/componentsPanel/componentControlUtils.ts index f735d1e73a..7063dc9b35 100644 --- a/frontend/src/lib/components/apps/editor/componentsPanel/componentControlUtils.ts +++ b/frontend/src/lib/components/apps/editor/componentsPanel/componentControlUtils.ts @@ -66,13 +66,13 @@ const validate = { const invalidate = { title: 'invalidate', description: 'Invalidate a specific field of a form', - example: 'validate(id: string, key: string, error: string)', + example: 'invalidate(id: string, key: string, error: string)', } const validateAll = { title: 'validateAll', description: 'Validate all fields of a form', - example: 'validate(id: string, key: string)', + example: 'validateAll(id: string, key: string)', } export function getComponentControl(type: keyof typeof components): Array {