-
Notifications
You must be signed in to change notification settings - Fork 5
autoComplete full input
Vahid Hedayati edited this page Jun 2, 2014
·
1 revision
<g:autocomplete
id="primarySearch" // Required - your objectID referred to by css has no importance
controller = "something" // Optional - default "autoComplete" (part of this plugin)
action = "something" // Optional - default "autocomplete" (part of this plugin)
name="myId" // Required - your form field name
domain='your.class.MyCountry' // Required what domainClass to search
searchField='name' // Required the table field to search and display
collectField='id' // optional the table field to use as value - if not set defaults to above
value="${params.myId"
max="10" // Optional max records to show default is 10
order="asc" // optional default is asc
required="false" // optional add this if you wish to disable required set by default
/>