Hi,
yes, you can set this property either at element level, or at application level:
- Code: Select all
// set only at element level
elements.typeahead.putClientProperty(APP_NG_PROPERTY.VALUELIST_CONTAINS_SEARCH, true);
// set globally for alll valuelist search
application.putClientProperty(APP_NG_PROPERTY.VALUELIST_CONTAINS_SEARCH, true);
the client property that can be set to always do a like search when filtering over valuelist on a typeahead like component. So a component that has a valuelist as a property and uses user input to search in that valuelist. By default it uses a like search with a % at the end (startsWith search on the fields of the valuelist). But this makes it a like %value% so a contains search. This can be set on the element (element.putClientProperty() or on a application wide level (application.putClientProperty()) DEFAULT: false
Regards,
Paolo