{"id":18779883,"url":"https://github.com/tal7aouy/search-dropdown-vue","last_synced_at":"2025-04-13T11:30:37.918Z","repository":{"id":65705038,"uuid":"450848787","full_name":"tal7aouy/search-dropdown-vue","owner":"tal7aouy","description":"An easier way to display A Vue.js dropdown component with search","archived":false,"fork":false,"pushed_at":"2024-09-22T14:23:25.000Z","size":24,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T02:51:18.393Z","etag":null,"topics":["dropdown","search","searchable","searchlist","searchselect","vue"],"latest_commit_sha":null,"homepage":"","language":"Vue","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/tal7aouy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-22T14:59:28.000Z","updated_at":"2024-09-22T11:50:30.000Z","dependencies_parsed_at":"2023-02-19T00:30:41.685Z","dependency_job_id":null,"html_url":"https://github.com/tal7aouy/search-dropdown-vue","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tal7aouy%2Fsearch-dropdown-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tal7aouy%2Fsearch-dropdown-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tal7aouy%2Fsearch-dropdown-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tal7aouy%2Fsearch-dropdown-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tal7aouy","download_url":"https://codeload.github.com/tal7aouy/search-dropdown-vue/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248705477,"owners_count":21148544,"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":["dropdown","search","searchable","searchlist","searchselect","vue"],"created_at":"2024-11-07T20:23:37.403Z","updated_at":"2025-04-13T11:30:37.585Z","avatar_url":"https://github.com/tal7aouy.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# search-dropdown-vue\n\nAn easier way to display A Vue.js dropdown component with search,\nNo special dependencies, no jquery, no tailwind.css, just VueJS and CSS magic.\n\n# Installation\n\n```bash\n$ npm install search-dropdown-vue\n// OR\n$ yarn add  search-dropdown-vue\n```\n\n# Requirements\n\n- [Vue.js](https://github.com/vuejs/vue-next) `^3.0.0`\n\n# Usage\n\n```html\n\u003cSearchDropdown\n   :options=\"countries\"\n    v-on:selected=\"onSelectedOption\"\n    v-on:filter=\"getDropdownValues\"\n\u003e\n\u003c/SearchDropdown\u003e\n\n\u003cscript setup\u003e\n  import SearchDropdown from 'search-dropdown-vue'\n  import {reactive, ref} from 'vue\n  const countries = ref([\n      {id:1, name:'Morocco'},\n      {id:2, name:'USA'},\n      {id:3,name: \"Canada\"}\n    ])\n  let object = reactive({id:null, name: null})\n\n  const onSelectedOption = (payload) =\u003e object = payload\n\u003c/script\u003e\n```\n\n# Default values of props\n\n| Property            |  Type   |              Default value |\n| ------------------- | :-----: | -------------------------: |\n| closeOnOutsideClick | boolean |                       true |\n| placeholder         | string  | 'Please select an option.' |\n| name                | string  |          'dropdown input.' |\n| disabled            | boolean |                      false |\n| maxItem             | number  |                         10 |\n\n# License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftal7aouy%2Fsearch-dropdown-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftal7aouy%2Fsearch-dropdown-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftal7aouy%2Fsearch-dropdown-vue/lists"}