{"id":13411572,"url":"https://github.com/daxslab/web2py-typeahead","last_synced_at":"2025-06-12T00:35:11.240Z","repository":{"id":70779712,"uuid":"51525085","full_name":"daxslab/web2py-typeahead","owner":"daxslab","description":"typeahead.js autocomplete widget for web2py","archived":false,"fork":false,"pushed_at":"2017-01-11T16:10:00.000Z","size":44,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-07-31T20:48:01.314Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daxslab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-11T15:43:44.000Z","updated_at":"2023-03-30T18:06:02.000Z","dependencies_parsed_at":"2023-04-09T04:33:10.696Z","dependency_job_id":null,"html_url":"https://github.com/daxslab/web2py-typeahead","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/daxslab/web2py-typeahead","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daxslab%2Fweb2py-typeahead","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daxslab%2Fweb2py-typeahead/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daxslab%2Fweb2py-typeahead/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daxslab%2Fweb2py-typeahead/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daxslab","download_url":"https://codeload.github.com/daxslab/web2py-typeahead/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daxslab%2Fweb2py-typeahead/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259371562,"owners_count":22847559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T20:01:14.631Z","updated_at":"2025-06-12T00:35:11.209Z","avatar_url":"https://github.com/daxslab.png","language":"Python","funding_links":[],"categories":["Web Development"],"sub_categories":["Python"],"readme":"# web2py-typeahead\ntypeahead.js autocomplete widget for web2py\n\nInstallation\n============\n\n- Download The plugin installer (.w2p file) and install it via the web2py interface.\n\n\nUsage\n=====\n\n\n```python\nfrom plugin_typeahead.typeahead import TypeheadWidget\n\nform = SQLFORM.factory(\n    Field(\n        'my_field_name',\n        widget=TypeheadWidget(\n            request,    # web2py request object\n            db.table.field,    # field for autocomplete search\n            id_field=db.table.id,    # use it for reference fields, id field to submit (default: None)\n            query=db.table.field.contains('husky'),    # custom query for suggestions (default: None)\n            limitby=(0, 10),    # limit suggestion count (default: (0, 10))\n            min_length=2,    # min length for popup suggestions (default: 2)\n            prefetch=True,    # Use typeahead.js prefetch (default: True)\n            remote=True,    # Use typeahead.js remote (default: True)\n        )\n    )\n)\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaxslab%2Fweb2py-typeahead","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaxslab%2Fweb2py-typeahead","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaxslab%2Fweb2py-typeahead/lists"}