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 {