wip: abstract field groups

This commit is contained in:
2025-09-25 10:53:28 -04:00
parent 8fbac701f6
commit 69d4c1f34a
11 changed files with 606 additions and 392 deletions

View File

@@ -1,7 +1,79 @@
{
"key": "group_post_listing",
"title": "Post - Listing",
"fields": [],
"fields": [
{
"key": "field_listing_category",
"label": "Listing category",
"name": "listing_category",
"aria-label": "",
"type": "taxonomy",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"taxonomy": "listing_category",
"field_type": "select",
"allow_null": 0,
"add_term": 0,
"save_terms": 1,
"load_terms": 1,
"return_format": "object",
"multiple": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "listingCategory",
"graphql_non_null": 1
},
{
"key": "field_listing_deadline",
"label": "Application deadline",
"name": "deadline",
"aria-label": "",
"type": "date_picker",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"display_format": "Y-m-d",
"return_format": "Y-m-d",
"first_day": 1,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "deadline",
"graphql_non_null": 0
},
{
"key": "field_listing_external_link",
"label": "External link",
"name": "external_link",
"aria-label": "",
"type": "url",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"allow_in_bindings": 0,
"placeholder": "",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "externalLink",
"graphql_non_null": 0
}
],
"location": [
[
{