An auto-suggest component for Derby, plus working example. Use as you please.
Usage example: ui:autoSuggest path="countries" field="{_user.countryIds}" cls="{{cls}}"
- Path: Document path
- Field: Target field where selections are stored
- Cls: Your CSS class name
Please post comments and feedbacks here: https://groups.google.com/forum/?fromgroups#!topic/derbyjs/4wIuKEEHrSg
Vid: http://www.youtube.com/watch?v=FozQ65fHieM
14 August 2012
- Refactored component to encapsulate all business logic
- Updated example code
- Add "single/multiple" selection param
- Add support to chose either filtering (client side) or quering. The use of "in" in query motifs is currently broken in Racer.
- Look into how to pass dynamic field names to components; i.e. right now the component relies on {{{.text}}} for display, the path.text needs to be dynamic.
Make sure you download the latest version of Racer