diff --git a/server/documents/modules/dropdown.html.eco b/server/documents/modules/dropdown.html.eco index b8d5aa0d1..8a6a5cf02 100755 --- a/server/documents/modules/dropdown.html.eco +++ b/server/documents/modules/dropdown.html.eco @@ -2389,6 +2389,19 @@ themes : ['Default', 'GitHub', 'Material'] false Can be set to an object to specify API settings for retrieving remote selection menu content from an API endpoint + + fields + +
+ fields: { + values : 'values', // grouping for all dropdown values + name : 'name', // displayed dropdown text + value : 'value' // actual dropdown value + } +
+ + List mapping dropdown content to JSON Property when using API + saveRemoteData true diff --git a/server/documents/modules/search.html.eco b/server/documents/modules/search.html.eco index 89586a448..36b7a8f32 100755 --- a/server/documents/modules/search.html.eco +++ b/server/documents/modules/search.html.eco @@ -568,7 +568,28 @@ type : 'UI Module' searchFullText true Return local results that match anywhere inside your content - + + + fields + +
+ fields: { + categories : 'results', // array of categories (category view) + categoryName : 'name', // name of category (category view) + categoryResults : 'results', // array of results (category view) + description : 'description', // result description + image : 'image', // result image + price : 'price', // result price + results : 'results', // array of results (standard) + title : 'title', // result title + action : 'action', // "view more" object name + actionText : 'text', // "view more" text + actionURL : 'url' // "view more" url + } +
+ + List mapping display content to JSON property, either with API or source. + searchFields