-
-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Fields marked Required do not work with the Gutenberg Editor #5367
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
@pglewis I believe you were busy with refactoring to React at the moment? I guess the issue above will be fixed once that is done? |
I thought I already had an issue for this but couldn't find it in a search. This is probably 2 issues to fix:
|
Going to follow up on this in #5484 |
Describe the bug
I've extended the Post Type and added two custom fields:
(1) simple custom defined list w/ multi select, and
(2) simple custom defined list w/ single select AND default value.
These fields display correctly in the post editor (with red asterisks, and the second custom field defaulted to correct value). However, when I do a test post where I select no value for the first custom field, and leave the second custom field at default, WP allows me to publish - no errors or banners telling otherwise.
To Reproduce
Steps to reproduce the behavior:
See screenshots below.
Expected behavior
If the required custom field has no selection, the user cannot publish without filling in the required fields.
Screenshots
Extend Post Type and add custom fields.
Create a new post to test.
Pods Version
Version 2.7.12
WordPress Environment
Debug Information
WordPress Version: 5.1.1
PHP Version: 7.0.33-0ubuntu0.16.04.4
MySQL Version: 5.5.5
Server Software: nginx/1.10.3
Your User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.108 Safari/537.36
Session Save Path: /var/lib/php/sessions
Session Save Path Exists: Yes
Session Save Path Writeable: Yes
Session Max Lifetime: 1440
Opcode Cache:
Apc: No
Memcached: No
OPcache: Yes
Redis: No
Object Cache:
APC: No
APCu: No
Memcache: No
Memcached: No
Redis: No
WPDB Prefix: wp_ideas_
WP Multisite Mode: No
WP Memory Limit: 40M
Current Memory Usage: 6.380M
Current Memory Usage (real): 2.000M
Pods Network-Wide Activated: No
Pods Install Location: /srv/www/ideas/wp-content/plugins/pods/
Pods Tableless Mode Activated: No
Pods Light Mode Activated: No
Currently Active Theme: Twenty Sixteen
Currently Active Plugins:
Authors Widget: 2.4.8
FV Clone Screen Options: 0.3
Jetpack by WordPress.com: 7.1.1
List all posts by Author, nested Categories and Titles: 2.7.6
My Private Site: 2.14.2
Pods - Custom Content Types and Fields: 2.7.12
Search & Filter: 1.2.11
The text was updated successfully, but these errors were encountered: