pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.06k stars 265 forks source link

Block API: Label for color #7305

Closed pdclark closed 2 weeks ago

pdclark commented 3 weeks ago

Problem to Solve

When using the Pods Block API, color and file field types do not render label argument.

Proposed Solution

Render labels.

Possible Workaround

Add an additional field that is just a label? I did not note any such thing in RenderedField.js

Examples Elsewhere

Yes, usually fields have names. The other field types show labels.

Screenshots / Screencast

https://wordpress.org/support/topic/block-api-some-fields-do-not-show-labels/

sc0ttkclark commented 2 weeks ago

We'll want to follow up later for the file field and others that don't utilize a label.

sc0ttkclark commented 2 weeks ago

Fixed via https://github.com/pods-framework/pods/pull/7306