You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe that means new appendConfigFieldSection/appendConfigFieldSections functions or a modification to appendConfigField/appendConfigFields, but the outcome would be to define something like the following:
The particular use case at the moment was input mask configuration, a la IMask (https://imask.js.org/). The fields would be the input mask pattern, forcing uppercase/lowercase, etc.
Add a mechanism for adding configuration fields within sections (along with the section display label and instructions) when adding the configuration fields to existing fieldtypes (i.e. https://statamic.dev/extending/fieldtypes#adding-configuration-fields-to-existing-fieldtypes), similar to how you're able to define that for a Section in a Blueprint.
Otherwise, all appended configuration fields are listed together with no ability to separate them or to provide shared instructions.
The basics of
appendConfigField
from the documentation:Maybe that means new
appendConfigFieldSection
/appendConfigFieldSections
functions or a modification toappendConfigField
/appendConfigFields
, but the outcome would be to define something like the following:And that would result in the necessary
div.publish-section-header
,header.publish-section-header
, etc. in the control panel for that fieldtype.The text was updated successfully, but these errors were encountered: