yafowil.widget.autocomplete

Yet Another Form Widget Library (Python, Web)
Download

yafowil.widget.autocomplete Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Publisher Name:
  • BlueDynamics Alliance
  • Publisher web site:
  • http://bluedynamics.com

yafowil.widget.autocomplete Tags


yafowil.widget.autocomplete Description

Yet Another Form Widget Library (Python, Web) yafowil.widget.autocomplete is an autocomplete widget for for YAFOWIL.It utilizes/integrates jquery.ui.autocomplete for/in YAFOWIL providing an autocomplete function on a text input.Usage:The autocomplete widget takes the paramters:minLength Minimum length of string before complete starts, default=1.delay Delay after last key-down before complete starts in milliseconds, default=300.source Data to be uses for autocomplete. Either a list of strings or an url (string) to be used to get a JSON response from. JSON response is expected to be either a list of strings or a list of dicts with keys ``id`` and ``label``. ``id`` is used for the complete and as value while ``label`` is shown in the dropdown.Example:: form = factory('autocomplete', props={ 'value': '', 'source': , 'minLength': 3, 'delay': 500}) Requirements: · Python What's New in This Release: · made it work


yafowil.widget.autocomplete Related Software