Skip to content

Commit

Permalink
fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
gigitux committed Nov 28, 2024
1 parent 46d6832 commit e01fb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/patterns/src/components/create-pattern-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function CreatePatternModalContents( {
const form = useForm( {
title: {
validation: {
validateWhenDirty: false,
showErrorOnlyWhenDirty: true,
callback: ( data ) => {
if ( data.title.length === 0 ) {
return {
Expand Down

0 comments on commit e01fb7f

Please sign in to comment.