From e01fb7f7aec7990ae6aabba0f574bfbabab35ad5 Mon Sep 17 00:00:00 2001 From: Luigi Teschio Date: Thu, 28 Nov 2024 14:31:09 +0100 Subject: [PATCH] fix naming --- packages/patterns/src/components/create-pattern-modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/patterns/src/components/create-pattern-modal.js b/packages/patterns/src/components/create-pattern-modal.js index 7c184f0ffaf23..ffceaa6289d0b 100644 --- a/packages/patterns/src/components/create-pattern-modal.js +++ b/packages/patterns/src/components/create-pattern-modal.js @@ -77,7 +77,7 @@ export function CreatePatternModalContents( { const form = useForm( { title: { validation: { - validateWhenDirty: false, + showErrorOnlyWhenDirty: true, callback: ( data ) => { if ( data.title.length === 0 ) { return {