{"id":20515630,"url":"https://github.com/ignf/combobox","last_synced_at":"2026-03-10T03:32:44.221Z","repository":{"id":216823541,"uuid":"742407057","full_name":"IGNF/combobox","owner":"IGNF","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-30T08:10:16.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-01-30T23:39:43.504Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IGNF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-12T12:08:39.000Z","updated_at":"2026-01-30T08:09:59.000Z","dependencies_parsed_at":"2024-01-13T03:47:31.340Z","dependency_job_id":"4472f099-d66c-4044-8490-05d229fdb121","html_url":"https://github.com/IGNF/combobox","commit_stats":null,"previous_names":["ignf/combobox"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/IGNF/combobox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGNF%2Fcombobox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGNF%2Fcombobox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGNF%2Fcombobox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGNF%2Fcombobox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IGNF","download_url":"https://codeload.github.com/IGNF/combobox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGNF%2Fcombobox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30323171,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T01:36:58.598Z","status":"online","status_checked_at":"2026-03-10T02:00:06.579Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-15T21:23:39.289Z","updated_at":"2026-03-10T03:32:44.183Z","avatar_url":"https://github.com/IGNF.png","language":null,"readme":"# combobox\nElément combobox permettant la sélection d'un élément dans une liste déroulante et la recherche par autocompletion dans la liste\n\n## Dépendances\nLe module fonctionnant avec JQuery, la variable globale $ doit être définie dans le projet\njquery-ui (widget et autocomplete)\n\n## Exemple d'utilisation\nhtml:\n\n\u003cpre\u003e\n\n\t\u003cdiv id=\"my-content\"\\\u003e\n\t\t\u003cselect class=\"combobox\"\\\u003e\n\t\t\t\u003coption value=\"1\"\u003emon premier choix\\\u003c/option\\\u003e\n\t\t\t\u003coption value=\"2\"\u003emon second choix\\\u003c/option\\\u003e\n\t\t\t\u003coption value=\"3\"\u003emon troisieme choix\\\u003c/option\\\u003e\n\t\t\u003c/select\u003e\n\t\u003c/div\u003e\n\t\n\u003c/pre\u003e\n\nscript:\n\n\u003cpre\u003e\n    \t\n\t$('select.combobox').each(function(){\n\t\tlet options = {\n\t\t\tappendTo: \"#my-content\",\n\t\t\tdefaultValue: 3\n\t\t};\n\n\t\t$(this).combobox(options);\n\t});\n\t\n\t# on peut désactiver l'élément:\n\t$('select.combobox').first().combobox(\"setDisabled\", true);\n\t\n\t# les évènements sont préfixés du nom du widget ([jquery ui widget](https://api.jqueryui.com/jquery.widget/)), ex:\n\t$('select.combobox').first().on('comboboxselect', function(event, item) {\n\t\talert(`${item.item.value} est une super sélection, bravo!`);\n\t});\n\n\u003c/pre\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignf%2Fcombobox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fignf%2Fcombobox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignf%2Fcombobox/lists"}