Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#46100 new defect (bug)

Custom field validation is not working in Gutenberg Editor

Reported by: kalpanasharma19's profile kalpanasharma19 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version:
Component: Editor Keywords: gutenberg-custom-field-validation
Focuses: Cc:


In Latest Version 5.0, Gutenberg doesn't allow validation with WCK plugin. Lets create a custom post type and add the custom field with required.

And when we add custom post type with the custom field, required field doesn't shows validation.

This validation is working with old editor.

Attachments (1)

validation-bug.PNG (43.9 KB) - added by kalpanasharma19 5 years ago.

Download all attachments as: .zip

Change History (2)

#1 @subrataemfluence
5 years ago

  • Component changed from General to Editor
  • Keywords gutenberg-custom-field-validation added
  • Summary changed from Gutenberg Editor causing bug to Custom field validation is not working in Gutenberg Editor

Gutenberg is still in active development stage and not everything is readily available yet.

Validating custom fields or metaboxes directly from Gutenberg to my knowledge not fully implemented properly till date.

So at this stage my suggestion would be to continue with Classic Editor plugin specially when you are dealing with custom fields.

Note: See TracTickets for help on using tickets.