How To
Documentation
    Learn More

      search:fields

      Description

      A dropdown to select the fields which should be returned in the response, if no fields are selected all fields will be returned.

      The fields tag should be wrapped in a Layout Controls Tag.

      Usage

      as element:
      <search:fields
             [title="{string}"]
             [fields="{string}"]>
      </search:fields>

      Directive info

      • This directive creates new scope.

      Parameters

      ParamTypeDetails
      title
      (optional)
      string

      The title to display for the dropdown.

      fields
      (optional)
      string

      A comma separated list of the fields that can be selected. Fields can be added with a display value like so actualFieldName=Display Field Name, anotherActual=My Field.

      Example

      Source

      
      
      

      Demo