Creates an input or select box that allows users to filter table data based on specified search parameters.
Basic usage:
{{ html.search }}
Usage with parameters:
{{ html.search(Field(s), CSS Class, On Change, Enhanced Select Box, Exact Match, Min Search String Length) }}
Parameters:
Field(s)
(optional) – Specify which table field(s) to search. For multiple fields, use comma separation (e.g., {{ html.search(‘firstname,lastname’) }}). When using ‘Table Join (Lookup Table)’ or ‘Table Join List’ fields, you can specify a rendering layout (e.g., {{ html.search(‘fieldname:layoutname’) }}).CSS Class
(optional) – Add custom styling by specifying one or more CSS class names, separated by spaces (e.g., ‘search-input highlighted’)On Change
(optional) – For select boxes only: Choose whether to automatically reload the page when a new option is selected.Enhanced Select Box
(optional) – Enable an advanced select box interface with built-in search functionality for easier option finding.Exact Match
(optional) – Define how the search term should match against field values:Min Search String Length
(optional) – Minimum number of characters required in the search term. Searches with fewer characters will not be executed.
Example:
{{ html.search("","","reload","improved","exact") }}
Leave a Reply
You must be logged in to post a comment.