Closed acjohnson08 closed 1 year ago
Couldn't get the JSON for the pods package in the initial issue due to length. Here's what I've got:
{
"@meta": {
"version": "2.9.13",
"build": 1687875712
},
"pods": [
{
"name": "location",
"id": 12,
"label": "Locations",
"description": "",
"type": "post_type",
"storage": "meta",
"label_singular": "Location",
"public": "1",
"show_ui": "1",
"supports_title": "1",
"supports_editor": "0",
"publicly_queryable": "1",
"exclude_from_search": "0",
"capability_type": "custom",
"capability_type_custom": "location",
"capability_type_extra": "1",
"has_archive": "0",
"hierarchical": "0",
"rewrite": "1",
"rewrite_with_front": "1",
"rewrite_feeds": "0",
"rewrite_pages": "1",
"query_var": "1",
"can_export": "1",
"default_status": "draft",
"supports_author": "0",
"supports_thumbnail": "0",
"supports_excerpt": "0",
"supports_trackbacks": "0",
"supports_custom_fields": "0",
"supports_comments": "0",
"supports_revisions": "0",
"supports_page_attributes": "0",
"supports_post_formats": "0",
"built_in_taxonomies_category": "0",
"built_in_taxonomies_link_category": "0",
"built_in_taxonomies_post_tag": "0",
"show_in_menu": "1",
"menu_position": "101",
"show_in_nav_menus": "1",
"show_in_admin_bar": "1",
"pfat_enable": "1",
"pfat_run_outside_loop": "0",
"pfat_append_single": "append",
"pfat_filter_single": "the_content",
"pfat_append_archive": "append",
"pfat_filter_archive": "custom",
"rest_enable": "0",
"read_all": "0",
"write_all": "0",
"menu_icon": "dashicons-location",
"pfat_filter_archive_custom": "the_content",
"pfat_single": "Location Template",
"rewrite_custom_slug": "locations",
"_migrated_28": "1",
"rest_route": "\/pods\/v1\/pods\/12",
"placeholder_enter_title_here": "Add location",
"groups": [
{
"name": "more_fields",
"id": 13,
"label": "More Fields",
"description": "",
"weight": 0,
"fields": [
{
"name": "street_address_1",
"id": 14,
"label": "Street Address 1",
"description": "",
"weight": 0,
"type": "text",
"required": "0",
"text_allow_shortcode": "0",
"text_allow_html": "0",
"text_allowed_html_tags": "strong em a ul ol li b i",
"text_max_length": "255",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"text_repeatable": "0",
"pod_label": "Locations"
},
{
"name": "street_address_2",
"id": 15,
"label": "Street Address 2",
"description": "",
"weight": 1,
"type": "text",
"required": "0",
"text_allow_shortcode": "0",
"text_allow_html": "0",
"text_allowed_html_tags": "strong em a ul ol li b i",
"text_max_length": "255",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"text_repeatable": "0",
"pod_label": "Locations"
},
{
"name": "city",
"id": 16,
"label": "City",
"description": "",
"weight": 2,
"type": "text",
"required": "0",
"text_allow_shortcode": "0",
"text_allow_html": "0",
"text_allowed_html_tags": "strong em a ul ol li b i",
"text_max_length": "255",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"text_repeatable": "0",
"pod_label": "Locations"
},
{
"name": "state",
"id": 17,
"label": "State",
"description": "",
"weight": 3,
"type": "pick",
"pick_object": "us_state",
"required": "0",
"pick_format_type": "single",
"pick_format_single": "dropdown",
"pick_format_multi": "checkbox",
"pick_display_format_multi": "default",
"pick_display_format_separator": ", ",
"pick_allow_add_new": "1",
"pick_taggable": "0",
"pick_show_icon": "1",
"pick_show_edit_link": "1",
"pick_show_view_link": "1",
"pick_limit": "0",
"pick_post_status": [
"publish"
],
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"pod_label": "Locations"
},
{
"name": "zip_code",
"id": 18,
"label": "Zip Code",
"description": "",
"weight": 4,
"type": "text",
"required": "0",
"text_allow_shortcode": "0",
"text_allow_html": "0",
"text_allowed_html_tags": "strong em a ul ol li b i",
"text_max_length": "5",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"text_repeatable": "0",
"pod_label": "Locations"
},
{
"name": "phone",
"id": 19,
"label": "Phone",
"description": "",
"weight": 5,
"type": "phone",
"required": "0",
"phone_format": "999-999-9999 x999",
"phone_enable_phone_extension": "1",
"phone_max_length": "25",
"phone_html5": "0",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"phone_repeatable": "0",
"pod_label": "Locations"
},
{
"name": "fax",
"id": 20,
"label": "Fax",
"description": "",
"weight": 6,
"type": "phone",
"required": "0",
"phone_format": "999-999-9999 x999",
"phone_enable_phone_extension": "1",
"phone_max_length": "25",
"phone_html5": "0",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"phone_repeatable": "0",
"pod_label": "Locations"
}
]
}
]
},
{
"name": "provider",
"id": 21,
"label": "Providers",
"description": "",
"type": "post_type",
"storage": "meta",
"label_singular": "Provider",
"public": "1",
"show_ui": "1",
"supports_title": "1",
"supports_editor": "0",
"publicly_queryable": "1",
"exclude_from_search": "0",
"capability_type": "custom",
"capability_type_custom": "provider",
"capability_type_extra": "1",
"has_archive": "0",
"hierarchical": "0",
"rewrite": "1",
"rewrite_with_front": "1",
"rewrite_feeds": "0",
"rewrite_pages": "1",
"query_var": "1",
"can_export": "1",
"default_status": "draft",
"supports_author": "0",
"supports_thumbnail": "0",
"supports_excerpt": "0",
"supports_trackbacks": "0",
"supports_custom_fields": "0",
"supports_comments": "0",
"supports_revisions": "0",
"supports_page_attributes": "0",
"supports_post_formats": "0",
"built_in_taxonomies_category": "0",
"built_in_taxonomies_link_category": "0",
"built_in_taxonomies_post_tag": "0",
"show_in_menu": "1",
"menu_position": "100",
"show_in_nav_menus": "1",
"show_in_admin_bar": "1",
"pfat_enable": "0",
"pfat_run_outside_loop": "0",
"pfat_append_single": "replace",
"pfat_filter_single": "the_content",
"pfat_append_archive": "append",
"pfat_filter_archive": "custom",
"rest_enable": "0",
"read_all": "0",
"write_all": "0",
"menu_icon": "dashicons-groups",
"pfat_filter_archive_custom": "the_content",
"pfat_single": "Provider Template",
"rewrite_custom_slug": "providers",
"_migrated_28": "1",
"revisions_to_keep_limit": "0",
"delete_with_user": "1",
"required": "0",
"rest_route": "\/pods\/v1\/pods\/21",
"placeholder_enter_title_here": "Add provider",
"meta_box_context": "normal",
"meta_box_priority": "default",
"required_help_boolean": "0",
"groups": [
{
"name": "provider_information",
"id": 22,
"label": "Provider Information",
"description": "",
"weight": 0,
"rest_route": "\/pods\/v1\/groups\/22",
"meta_box_context": "normal",
"meta_box_priority": "default",
"roles_allowed": "administrator",
"fields": [
{
"name": "provider",
"id": 7857,
"label": "Provider Name",
"description": "",
"weight": 0,
"type": "text",
"sister_id": "-- Select One --",
"rest_route": "\/pods\/v1\/fields",
"required": "0",
"text_allowed_html_tags": "strong em a ul ol li b i",
"text_max_length": "255",
"repeatable": "0",
"repeatable_format": "default",
"roles_allowed": "administrator",
"rest_pick_response": "array",
"rest_pick_depth": "1",
"read_only": "1",
"pod_label": "Providers"
},
{
"name": "import_id",
"id": 23,
"label": "Import ID",
"description": "",
"weight": 1,
"type": "text",
"sister_id": "-- Select One --",
"required": "0",
"text_allowed_html_tags": "strong em a ul ol li b i",
"text_max_length": "255",
"roles_allowed": "administrator",
"rest_pick_response": "array",
"rest_pick_depth": "1",
"pod_label": "Providers",
"rest_route": "\/pods\/v1\/fields\/23",
"repeatable": "0",
"repeatable_format": "default",
"admin_only": "1"
},
{
"name": "accepting_new_patients",
"id": 24,
"label": "Accepting New Patients?",
"description": "",
"weight": 2,
"type": "boolean",
"required": "0",
"boolean_format_type": "checkbox",
"boolean_yes_label": "Yes",
"boolean_no_label": "No",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"pod_label": "Providers"
},
{
"name": "practice_management_id",
"id": 25,
"label": "Practice Management ID",
"description": "",
"weight": 3,
"type": "text",
"sister_id": "-- Select One --",
"post_status": "publish",
"required": "0",
"text_allowed_html_tags": "strong em a ul ol li b i",
"text_max_length": "255",
"roles_allowed": "administrator",
"rest_pick_response": "array",
"rest_pick_depth": "1",
"pod_label": "Providers"
},
{
"name": "picture",
"id": 26,
"label": "Picture",
"description": "",
"weight": 4,
"type": "file",
"required": "0",
"file_format_type": "single",
"file_uploader": "attachment",
"file_attachment_tab": "upload",
"file_edit_title": "1",
"file_show_edit_link": "0",
"file_linked": "0",
"file_limit": "0",
"file_restrict_filesize": "10MB",
"file_type": "images",
"file_field_template": "rows",
"file_add_button": "Add File",
"file_modal_title": "Attach a file",
"file_modal_add_button": "Add File",
"file_wp_gallery_output": "0",
"file_wp_gallery_link": "post",
"file_wp_gallery_columns": "1",
"file_wp_gallery_random_sort": "0",
"file_wp_gallery_size": "thumbnail",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"pod_label": "Providers"
},
{
"name": "first_name",
"id": 27,
"label": "First Name",
"description": "",
"weight": 5,
"type": "text",
"required": "1",
"text_allow_shortcode": "0",
"text_allow_html": "0",
"text_allowed_html_tags": "strong em a ul ol li b i",
"text_max_length": "255",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"text_repeatable": "0",
"pod_label": "Providers",
"sister_id": "-- Select One --",
"rest_route": "\/pods\/v1\/fields\/27",
"repeatable": "0",
"repeatable_format": "default"
},
{
"name": "last_name",
"id": 28,
"label": "Last Name",
"description": "",
"weight": 6,
"type": "text",
"required": "1",
"text_allow_shortcode": "0",
"text_allow_html": "0",
"text_allowed_html_tags": "strong em a ul ol li b i",
"text_max_length": "255",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"text_repeatable": "0",
"pod_label": "Providers",
"sister_id": "-- Select One --",
"rest_route": "\/pods\/v1\/fields\/28",
"repeatable": "0",
"repeatable_format": "default"
},
{
"name": "phonetic_first_name",
"id": 29,
"label": "Phonetic First Name",
"description": "",
"weight": 7,
"type": "text",
"required": "0",
"text_allow_shortcode": "0",
"text_allow_html": "0",
"text_allowed_html_tags": "strong em a ul ol li b i",
"text_max_length": "255",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"text_repeatable": "0",
"pod_label": "Providers"
},
{
"name": "phonetic_last_name",
"id": 30,
"label": "Phonetic Last Name",
"description": "",
"weight": 8,
"type": "text",
"required": "0",
"text_allow_shortcode": "0",
"text_allow_html": "0",
"text_allowed_html_tags": "strong em a ul ol li b i",
"text_max_length": "255",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"text_repeatable": "0",
"pod_label": "Providers"
},
{
"name": "gender",
"id": 31,
"label": "Gender",
"description": "",
"weight": 9,
"type": "pick",
"pick_object": "custom-simple",
"pick_custom": "<span class=\"male\">Male<\/span>\n<span class=\"female\">Female<\/span>",
"required": "0",
"pick_format_type": "single",
"pick_format_single": "dropdown",
"pick_format_multi": "checkbox",
"pick_display_format_multi": "default",
"pick_display_format_separator": ", ",
"pick_allow_add_new": "1",
"pick_taggable": "0",
"pick_show_icon": "1",
"pick_show_edit_link": "1",
"pick_show_view_link": "1",
"pick_limit": "0",
"pick_post_status": [
"publish"
],
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"pod_label": "Providers"
},
{
"name": "credentials",
"id": 18870,
"label": "Credentials",
"description": "",
"weight": 10,
"type": "pick",
"pick_object": "post_type",
"pick_val": "credential",
"sister_id": "-- Select One --",
"rest_route": "\/pods\/v1\/fields",
"pick_table": "-- Select One --",
"required": "0",
"required_help_boolean": "0",
"pick_format_type": "multi",
"pick_format_single": "dropdown",
"pick_format_multi": "autocomplete",
"pick_display_format_multi": "custom",
"pick_display_format_separator": ", ",
"pick_allow_add_new": "1",
"pick_taggable": "0",
"pick_show_icon": "1",
"pick_show_edit_link": "1",
"pick_show_view_link": "1",
"pick_limit": "0",
"pick_user_role": "Administrator",
"pick_post_status": "publish",
"pick_post_author": "0",
"repeatable": "0",
"repeatable_format": "default",
"roles_allowed": "administrator",
"rest_pick_response": "array",
"rest_pick_depth": "1",
"pod_label": "Providers"
},
{
"name": "license_education_level",
"id": 32,
"label": "License\/Education Level",
"description": "",
"weight": 11,
"type": "text",
"required": "0",
"text_allow_shortcode": "0",
"text_allow_html": "0",
"text_allowed_html_tags": "strong em a ul ol li b i",
"text_max_length": "255",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"text_repeatable": "0",
"pod_label": "Providers"
},
{
"name": "treating_male_patients",
"id": 33,
"label": "Treating Male Patients?",
"description": "",
"weight": 12,
"type": "boolean",
"required": "0",
"boolean_format_type": "checkbox",
"boolean_yes_label": "Yes",
"boolean_no_label": "No",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"pod_label": "Providers"
},
{
"name": "minimum_male_patient_age",
"id": 34,
"label": "Minimum Male Patient Age",
"description": "",
"weight": 13,
"type": "number",
"required": "0",
"number_format_type": "number",
"number_format": "i18n",
"number_decimals": "0",
"number_format_soft": "0",
"number_step": "1",
"number_min": "0",
"number_max": "100",
"number_max_length": "12",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"number_repeatable": "0",
"pod_label": "Providers"
},
{
"name": "maximum_male_patient_age",
"id": 35,
"label": "Maximum Male Patient Age",
"description": "",
"weight": 14,
"type": "number",
"required": "0",
"number_format_type": "number",
"number_format": "i18n",
"number_decimals": "0",
"number_format_soft": "0",
"number_step": "1",
"number_min": "0",
"number_max": "100",
"number_max_length": "12",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"number_repeatable": "0",
"pod_label": "Providers"
},
{
"name": "treating_female_patients",
"id": 36,
"label": "Treating Female Patients?",
"description": "",
"weight": 15,
"type": "boolean",
"required": "0",
"boolean_format_type": "checkbox",
"boolean_yes_label": "Yes",
"boolean_no_label": "No",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"pod_label": "Providers"
},
{
"name": "minimum_female_patient_age",
"id": 37,
"label": "Minimum Female Patient Age",
"description": "",
"weight": 16,
"type": "number",
"required": "0",
"number_format_type": "number",
"number_format": "i18n",
"number_decimals": "0",
"number_format_soft": "0",
"number_step": "1",
"number_min": "0",
"number_max": "100",
"number_max_length": "12",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"number_repeatable": "0",
"pod_label": "Providers"
},
{
"name": "maximum_female_patient_age",
"id": 38,
"label": "Maximum Female Patient Age",
"description": "",
"weight": 17,
"type": "number",
"required": "0",
"number_format_type": "number",
"number_format": "i18n",
"number_decimals": "0",
"number_format_soft": "0",
"number_step": "1",
"number_min": "0",
"number_max": "100",
"number_max_length": "12",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"number_repeatable": "0",
"pod_label": "Providers"
},
{
"name": "languages",
"id": 39,
"label": "Languages",
"description": "",
"weight": 18,
"type": "pick",
"pick_object": "post_type",
"pick_val": "language",
"required": "0",
"pick_format_type": "multi",
"pick_format_single": "dropdown",
"pick_format_multi": "autocomplete",
"pick_display_format_multi": "custom",
"pick_display_format_separator": ", ",
"pick_allow_add_new": "1",
"pick_taggable": "0",
"pick_show_icon": "1",
"pick_show_edit_link": "1",
"pick_show_view_link": "1",
"pick_limit": "0",
"pick_post_status": [
"publish"
],
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"pod_label": "Providers",
"sister_id": "-- Select One --",
"rest_route": "\/pods\/v1\/fields\/39",
"pick_table": "-- Select One --",
"pick_user_role": "Administrator",
"pick_post_author": "0",
"repeatable": "0",
"repeatable_format": "default"
},
{
"name": "locations",
"id": 40,
"label": "Locations",
"description": "",
"weight": 19,
"type": "pick",
"pick_object": "post_type",
"pick_val": "location",
"required": "1",
"pick_format_type": "multi",
"pick_format_single": "dropdown",
"pick_format_multi": "autocomplete",
"pick_display_format_multi": "custom",
"pick_display_format_separator": ", ",
"pick_allow_add_new": "1",
"pick_taggable": "0",
"pick_show_icon": "1",
"pick_show_edit_link": "1",
"pick_show_view_link": "1",
"pick_limit": "0",
"pick_post_status": [
"publish"
],
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"pod_label": "Providers",
"sister_id": "-- Select One --",
"rest_route": "\/pods\/v1\/fields\/40",
"pick_table": "-- Select One --",
"required_help_boolean": "0",
"pick_user_role": "Administrator",
"pick_post_author": "0",
"repeatable": "0",
"repeatable_format": "default"
},
{
"name": "insurances",
"id": 41,
"label": "Insurances",
"description": "",
"weight": 20,
"type": "pick",
"pick_object": "post_type",
"pick_val": "insurance",
"sister_id": "-- Select One --",
"post_status": "publish",
"required": "1",
"pick_format_type": "multi",
"pick_format_single": "dropdown",
"pick_format_multi": "autocomplete",
"pick_display_format_multi": "custom",
"pick_display_format_separator": ", ",
"pick_allow_add_new": "1",
"pick_taggable": "0",
"pick_show_icon": "1",
"pick_show_edit_link": "1",
"pick_show_view_link": "1",
"pick_limit": "0",
"pick_user_role": "Administrator",
"pick_post_status": [
"publish"
],
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"pod_label": "Providers",
"pick_table": "-- Select One --",
"rest_route": "\/pods\/v1\/fields\/41",
"required_help_boolean": "0",
"pick_post_author": "0",
"repeatable": "0",
"repeatable_format": "default"
},
{
"name": "services",
"id": 42,
"label": "Services",
"description": "",
"weight": 21,
"type": "pick",
"pick_object": "post_type",
"pick_val": "service",
"sister_id": "-- Select One --",
"post_status": "publish",
"required": "1",
"pick_format_type": "multi",
"pick_format_single": "dropdown",
"pick_format_multi": "autocomplete",
"pick_display_format_multi": "custom",
"pick_display_format_separator": ", ",
"pick_allow_add_new": "1",
"pick_taggable": "0",
"pick_show_icon": "1",
"pick_show_edit_link": "1",
"pick_show_view_link": "1",
"pick_limit": "0",
"pick_user_role": "Administrator",
"pick_post_status": [
"publish"
],
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"pod_label": "Providers",
"pick_table": "-- Select One --",
"rest_route": "\/pods\/v1\/fields\/42",
"required_help_boolean": "0",
"pick_post_author": "0",
"repeatable": "0",
"repeatable_format": "default"
},
{
"name": "specialties",
"id": 43,
"label": "Specialties",
"description": "",
"weight": 22,
"type": "pick",
"pick_object": "post_type",
"pick_val": "specialty",
"sister_id": "-- Select One --",
"post_status": "publish",
"required": "0",
"pick_format_type": "multi",
"pick_format_single": "dropdown",
"pick_format_multi": "autocomplete",
"pick_display_format_multi": "custom",
"pick_display_format_separator": ", ",
"pick_allow_add_new": "1",
"pick_taggable": "0",
"pick_show_icon": "1",
"pick_show_edit_link": "1",
"pick_show_view_link": "1",
"pick_limit": "0",
"pick_user_role": "Administrator",
"pick_post_status": [
"publish"
],
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"pod_label": "Providers",
"pick_table": "-- Select One --",
"rest_route": "\/pods\/v1\/fields\/43",
"pick_post_author": "0",
"repeatable": "0",
"repeatable_format": "default",
"required_help_boolean": "0",
"pick_where": "service.ID IN ( SELECT DISTINCT meta_value FROM wp_postmeta WHERE meta_key = 'services' AND post_id = IF ('{@get.post}' = '', 0, CAST('{@get.post}' AS UNSIGNED)))"
},
{
"name": "notes",
"id": 44,
"label": "Notes",
"description": "",
"weight": 23,
"type": "paragraph",
"required": "0",
"paragraph_allow_html": "1",
"paragraph_oembed": "0",
"paragraph_wptexturize": "1",
"paragraph_convert_chars": "1",
"paragraph_wpautop": "1",
"paragraph_allow_shortcode": "0",
"paragraph_allowed_html_tags": "strong em a ul ol li b i",
"paragraph_max_length": "0",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"paragraph_repeatable": "0",
"pod_label": "Providers"
},
{
"name": "intake_limits",
"id": 45,
"label": "Intake Limits",
"description": "",
"weight": 24,
"type": "paragraph",
"required": "0",
"paragraph_allow_html": "1",
"paragraph_oembed": "0",
"paragraph_wptexturize": "1",
"paragraph_convert_chars": "1",
"paragraph_wpautop": "1",
"paragraph_allow_shortcode": "0",
"paragraph_allowed_html_tags": "strong em a ul ol li b i",
"paragraph_max_length": "0",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"paragraph_repeatable": "0",
"pod_label": "Providers"
},
{
"name": "unwanted_referrals",
"id": 46,
"label": "Unwanted Referrals",
"description": "",
"weight": 25,
"type": "paragraph",
"required": "0",
"paragraph_allow_html": "1",
"paragraph_oembed": "0",
"paragraph_wptexturize": "1",
"paragraph_convert_chars": "1",
"paragraph_wpautop": "1",
"paragraph_allow_shortcode": "0",
"paragraph_allowed_html_tags": "strong em a ul ol li b i",
"paragraph_max_length": "0",
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": [
"administrator"
],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"paragraph_repeatable": "0",
"pod_label": "Providers"
},
{
"name": "availability",
"id": 47,
"label": "Availability",
"description": "",
"weight": 26,
"type": "pick",
"pick_object": "post_type",
"pick_val": "availability",
"sister_id": "-- Select One --",
"post_status": "publish",
"pick_table": "-- Select One --",
"required": "0",
"pick_format_type": "multi",
"pick_format_single": "dropdown",
"pick_format_multi": "checkbox",
"pick_display_format_multi": "custom",
"pick_display_format_separator": ", ",
"pick_allow_add_new": "0",
"pick_taggable": "0",
"pick_show_icon": "1",
"pick_show_edit_link": "1",
"pick_show_view_link": "1",
"pick_limit": "0",
"pick_user_role": "Administrator",
"roles_allowed": "administrator",
"rest_pick_response": "array",
"rest_pick_depth": "1",
"pod_label": "Providers",
"rest_route": "\/pods\/v1\/fields\/47",
"pick_post_status": "publish",
"pick_post_author": "0",
"repeatable": "0",
"repeatable_format": "default"
},
{
"name": "modality",
"id": 11887,
"label": "Mode of Service",
"description": "",
"weight": 27,
"type": "pick",
"pick_object": "post_type",
"pick_val": "modality",
"sister_id": "-- Select One --",
"rest_route": "\/pods\/v1\/fields",
"pick_table": "-- Select One --",
"required": "0",
"pick_format_type": "multi",
"pick_format_single": "dropdown",
"pick_format_multi": "checkbox",
"pick_display_format_multi": "default",
"pick_display_format_separator": ", ",
"pick_allow_add_new": "0",
"pick_taggable": "0",
"pick_show_icon": "1",
"pick_show_edit_link": "1",
"pick_show_view_link": "1",
"pick_limit": "0",
"pick_user_role": "Administrator",
"pick_post_status": "publish",
"pick_post_author": "0",
"repeatable": "0",
"repeatable_format": "default",
"roles_allowed": "administrator",
"rest_pick_response": "array",
"rest_pick_depth": "1",
"pod_label": "Providers"
},
{
"name": "url",
"id": 7729,
"label": "URL",
"description": "",
"weight": 28,
"type": "website",
"sister_id": "-- Select One --",
"rest_route": "\/pods\/v1\/fields",
"required": "0",
"website_format": "normal",
"website_allow_port": "0",
"website_clickable": "0",
"website_new_window": "1",
"website_nofollow": "1",
"website_max_length": "255",
"website_html5": "0",
"repeatable": "0",
"repeatable_format": "default",
"roles_allowed": "administrator",
"rest_pick_response": "array",
"rest_pick_depth": "1",
"pod_label": "Providers"
}
]
}
]
}
]
}
@sc0ttkclark This came from wp.org. I tagged you for now but this is a react related issue.
I haven't been able to reproduce this yet but I'm going to keep digging into this. Maybe it's the amount of data which has to be over X amount to trigger the AJAX loading logic where it loads only a select number on page load.
I have more information on this issue which probably explains why you are having trouble reproducing this. I have this custom function which attempts to use the pods_form_ui_field_pick_autocomplete_limit filter to remove the default autocomplete limit of 30 by setting it to -1:
function remove_autocomplete_limit( $limit, $field, $pod ) {
$limit = -1;
return $limit;
}
add_action( 'pods_form_ui_field_pick_autocomplete_limit', 'remove_autocomplete_limit', 10, 3 );
I think this should be supported but it appears that pick.php is checking the count of current selections contained in the $value variable and assigning that count to $params['limit'] rather than respecting the value I passed in via in my function. Since any number of selections will always be greater than -1, my function will never work as expected.
For now, I will just set $limit in my function to be a really high positive number but I think it is still worth addressing this edge case.
This is great news, now we know what we can do here to better support that use-case and be sure it's addressed.
@acjohnson08 This PR should fix the limit filter: https://github.com/pods-framework/pods/pull/7143
I'm also able to reproduce this issue locally
@acjohnson08 Can you please test the solution (also included in #7143)
Description
I have a multi-select autocomplete Pods field on my WordPress site. When I have no saved selections in this field, I am presented with the entire list of options when I click in the input. However, if I already have a saved selection, when I click in the input, no options are shown; the autocomplete functionality (which I think utilizes the Select2 library) seems to think my saved selection is the search.
Version
2.9.13
Testing Instructions
Screenshots / Screencast
Input without any saved selections:
Input with saved selections:
Possible Workaround
Not really a workaround but users have to remove all saved selections, save the post, and then add the any new desired options along with the previously saved selection.
Site Health Information
Pods Package
No response