Pages dropdown
The pages dropdown can be used for situations where you want to allow users of your theme to use a specific relation to the given page.
It can be used e.g., to specify the privacy policy page:
{
"name": "privacyPolicyPage",
"label": "Privacy Policy",
"group": "GDPR",
"value": "",
"type": "pages-dropdown",
"multiple": false
}
The pages dropdown returns the ID/s of the selected page/s as a value, so it should be connected with the use of the getPage or getPages helper. If the multiple option is set to true, then a string with IDs separated by commas is returned.