How To
Documentation
    Learn More

      search:keyword

      Description

      Search keyword tag allows you to add the ability for a user to filter the search based on the keyword they enter and the value they select.

      Usage

      as element:
      <search:keyword
             keyword="{string}"
             facet="{string}"
             [facet-field="{string}"]
             [description="{string}"]
             [date="{string}"]
             [date-format="{string}"]
             [date-display-format="{string}"]>
      </search:keyword>

      Directive info

      • This directive creates new scope.

      Parameters

      ParamTypeDetails
      keywordstring

      The keyword the user types

      facetstring

      The facet the keyword is associated with

      facet-field
      (optional)
      string

      The facet the keyword is associated with

      description
      (optional)
      string

      The description to display next to the keyword

      date
      (optional)
      string

      Type of date (on, before, after. Default: on)

      date-format
      (optional)
      string

      Date format to use for the datapicker. Default yyyy-MM-ddTHH:mm:ss

      date-display-format
      (optional)
      string

      Date format to use for the datapicker display values. Default yyyy-MM-ddTHH:mm:ss

      Example

      Source

      
      
      

      Demo