TAG - AppDaddy-Software-Solutions-Inc/framework-markup-language GitHub Wiki

<TAG/> : Widget

The <TAG/> widget is used exclusively by the <TYPEAHEAD/> widget and is defined as a child of the controls <OPTION/>.

<TAG/>'s are used during the <TYPEAHEAD/> search operation to determine if the option matches the criteria specified.

Attributes

Name Type Default Description Req
type string contains Specifies the comparison method to use when comparing the <OPTION/>'s value to the value typed by the user. Must be one of contains, startswith, endwith, equal or keyword.
value string The value used in the comparison. Normally this is value bound to the parents data property.
ignorecase boolean true If the comparison is case sensitive

Examples

Example #1 : a typeahead with tags which match on month number or month staring with the letters typed in.
 <TYPEAHEAD id="monthselector" data="MONTHS">
  <OPTION value="{data.month}" label="{data.month}">
    <TAG value="{data.num}"/>
    <TAG value="{data.month}" type="startswith"/>
   </OPTION>                
  </TYPEAHEAD>

logo See it in Action

Other Widgets You May Find Useful:

⚠️ **GitHub.com Fallback** ⚠️