{"id":22791171,"url":"https://github.com/loperd/multiple-select-js","last_synced_at":"2025-03-30T16:46:54.392Z","repository":{"id":118342555,"uuid":"434943954","full_name":"loperd/multiple-select-js","owner":"loperd","description":"Fork of https://github.com/ibnujakaria/multiple-select-js","archived":false,"fork":false,"pushed_at":"2021-12-04T15:53:52.000Z","size":1513,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T18:45:34.896Z","etag":null,"topics":["multiple-select","multiple-select-list","select"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/loperd.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":"2021-12-04T15:53:45.000Z","updated_at":"2021-12-07T12:24:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd9f4bc4-01d2-4a03-a32a-d29b0a071b13","html_url":"https://github.com/loperd/multiple-select-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loperd%2Fmultiple-select-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loperd%2Fmultiple-select-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loperd%2Fmultiple-select-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loperd%2Fmultiple-select-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loperd","download_url":"https://codeload.github.com/loperd/multiple-select-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246350937,"owners_count":20763228,"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":["multiple-select","multiple-select-list","select"],"created_at":"2024-12-12T02:38:13.780Z","updated_at":"2025-03-30T16:46:54.367Z","avatar_url":"https://github.com/loperd.png","language":"JavaScript","readme":"[![](https://img.shields.io/npm/v/multiple-select-js)](https://www.npmjs.com/package/multiple-select-js)\n[![](https://img.shields.io/npm/dt/multiple-select-js)](https://www.npmjs.com/package/multiple-select-js)\n[![](https://img.shields.io/jsdelivr/npm/hm/multiple-select-js)](https://www.jsdelivr.com/package/npm/multiple-select-js)\n[![](https://img.shields.io/github/size/ibnujakaria/multiple-select-js/dist/js/multiple-select.js)]()\n[![](https://img.shields.io/github/release-date/ibnujakaria/multiple-select-js)](https://github.com/ibnujakaria/multiple-select-js/)\n[![](https://img.shields.io/npm/l/multiple-select-js)](https://www.npmjs.com/package/multiple-select-js)\n\n# Multiple Select \n\nA simple javascript (non jQuery) library for multiple select component that supports Bootstrap 4 natively.\n\n## Installation\n\nYou can install `multiple-select-js` in 3 options:\n\n### Using NPM\n\n```bash\nnpm i multiple-select-js\n```\n\nAnd then, simply import it using `es6` syntax.\n\n```js\nimport MultipleSelect from 'multiple-select-js'\n```\n\n### Using CDN\n```html\n\u003c!-- Bootstrap 4 --\u003e\n\u003clink rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css\" integrity=\"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T\" crossorigin=\"anonymous\"\u003e\n\n\u003c!-- Multiple Select JS --\u003e\n\u003clink rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/multiple-select-js/dist/css/multiple-select.css\"\u003e\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/multiple-select-js/dist/js/multiple-select.js\"\u003e\u003c/script\u003e\n```\n\n### Manually Download\n```html\n\u003clink href=\"/dist/css/multiple-select.css\" rel=\"stylesheet\"\u003e\n\u003cscript src=\"/dist/js/multiple-select.js\"\u003e\u003c/script\u003e\n```\n\n## Basic Usage\n\nFor single select.\n```html\n\u003cdiv class=\"form-group\"\u003e\n  \u003clabel for=\"select-language\"\u003eSingle Select\u003c/label\u003e\n  \u003cselect id=\"select-language\"\u003e\n    \u003coption value=\"php\"\u003ePHP\u003c/option\u003e\n    \u003coption value=\"javascript\"\u003eJavascript\u003c/option\u003e\n    \u003coption value=\"python\"\u003ePython\u003c/option\u003e\n    \u003coption value=\"java\"\u003eJava\u003c/option\u003e\n  \u003c/select\u003e\n\u003c/div\u003e\n```\n\n```js\nnew MultipleSelect('#select-language', {\n  placeholder: 'Select Language'\n})\n```\n\nFor Multiple select you can simply add `multiple` attribute to the `select` tag.\n\n```html\n\u003cdiv class=\"form-group\"\u003e\n  \u003clabel for=\"select-language\"\u003eMultiple Select\u003c/label\u003e\n  \u003cselect id=\"select-multiple-language\" multiple\u003e\n    \u003coption value=\"php\"\u003ePHP\u003c/option\u003e\n    \u003coption value=\"javascript\"\u003eJavascript\u003c/option\u003e\n    \u003coption value=\"python\"\u003ePython\u003c/option\u003e\n    \u003coption value=\"java\"\u003eJava\u003c/option\u003e\n  \u003c/select\u003e\n\u003c/div\u003e\n```\n\n```js\nnew MultipleSelect('#select-multiple-language', {\n  placeholder: 'Select Language'\n})\n```\n## Documentation\n\nGo to [this link](https://ibnujakaria.github.io/multiple-select-js) for the complete documentation.\n\n## License\n\nThe Multiple Select Js library is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floperd%2Fmultiple-select-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floperd%2Fmultiple-select-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floperd%2Fmultiple-select-js/lists"}