{"id":13481010,"url":"https://github.com/valor-software/ng2-select","last_synced_at":"2025-05-14T18:06:44.938Z","repository":{"id":37692894,"uuid":"41479678","full_name":"valor-software/ng2-select","owner":"valor-software","description":"Angular based replacement for select boxes","archived":false,"fork":false,"pushed_at":"2024-08-20T20:20:14.000Z","size":12494,"stargazers_count":673,"open_issues_count":403,"forks_count":583,"subscribers_count":41,"default_branch":"development","last_synced_at":"2025-05-01T03:36:03.759Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://valor-software.github.io/ng2-select/","language":"TypeScript","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/valor-software.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-08-27T10:08:22.000Z","updated_at":"2025-03-03T20:47:39.000Z","dependencies_parsed_at":"2025-01-01T19:00:59.761Z","dependency_job_id":"448868b8-c6da-448f-80db-d055eeb27fc7","html_url":"https://github.com/valor-software/ng2-select","commit_stats":{"total_commits":141,"total_committers":34,"mean_commits":4.147058823529412,"dds":0.6382978723404256,"last_synced_commit":"855ac2fa02793b05afef2b1156cace96f418fc84"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valor-software%2Fng2-select","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valor-software%2Fng2-select/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valor-software%2Fng2-select/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valor-software%2Fng2-select/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valor-software","download_url":"https://codeload.github.com/valor-software/ng2-select/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253656409,"owners_count":21943081,"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-31T17:00:47.600Z","updated_at":"2025-05-14T18:06:39.925Z","avatar_url":"https://github.com/valor-software.png","language":"TypeScript","readme":"# Native UI Select Angular component ([demo](http://valor-software.com/ng2-select/))\n## ng2-select [![npm version](https://badge.fury.io/js/ng2-select.svg)](http://badge.fury.io/js/ng2-select) [![npm downloads](https://img.shields.io/npm/dm/ng2-select.svg)](https://npmjs.org/ng2-select)[![slack](https://ngx-slack.herokuapp.com/badge.svg)](https://ngx-slack.herokuapp.com)\n\n[![Angular 2 Style Guide](https://mgechev.github.io/angular2-style-guide/images/badge.svg)](https://github.com/mgechev/angular2-style-guide)\n[![Build Status](https://travis-ci.org/valor-software/ng2-select.svg?branch=development)](https://travis-ci.org/valor-software/ng2-select)\n\n## Quick start\n\n1. A recommended way to install ***ng2-select*** is through [npm](https://www.npmjs.com/search?q=ng2-select) package manager using the following command:\n\n  `npm i ng2-select --save`\n\n2. Include `ng2-select.css` in your project\n\n3. More information regarding of using ***ng2-select*** is located in\n  [demo](http://valor-software.github.io/ng2-select/) and [demo sources](https://github.com/valor-software/ng2-select/tree/master/demo).\n\n## API\n\n### Properties\n\n  - `items` - (`Array\u003cany\u003e`) - Array of items from which to select. Should be an array of objects with `id` and `text` properties.\n  As convenience, you may also pass an array of strings, in which case the same string is used for both the ID and the text.\n  Items may be nested by adding a `children` property to any item, whose value should be another array of items. Items that have children may omit having an ID.\n  If `items` are specified, all items are expected to be available locally and all selection operations operate on this local array only.\n  If omitted, items are not available locally, and the `query` option should be provided to fetch data.\n  - `active` (`?Array\u003cany\u003e`) - selection data to set. This should be an object with `id` and `text` properties in the case of input type 'Single',\n  or an array of such objects otherwise. This option is mutually exclusive with value.\n  - `allowClear` (`?boolean=false`) (*not yet supported*) - Set to `true` to allow the selection to be cleared. This option only applies to single-value inputs.\n  - `placeholder` (`?string=''`) - Placeholder text to display when the element has no focus and selected items.\n  - `disabled` (`?boolean=false`) - When `true`, it specifies that the component should be disabled.\n  - `multiple` - (`?boolean=false`) - Mode of this component. If set `true` user can select more than one option.\n  This option only applies to single-value inputs, as multiple-value inputs don't have the search input in the dropdown to begin with.\n\n### Events\n\n  - `data` - it fires during all events of this component; returns `Array\u003cany\u003e` - current selected data\n  - `selected` - it fires after a new option selected; returns object with `id` and `text` properties that describes a new option.\n  - `removed` - it fires after an option removed; returns object with `id` and `text` properties that describes a removed option.\n  - `typed` - it fires after changing of search input; returns `string` with that value.\n\n# Troubleshooting\n\nPlease follow this guidelines when reporting bugs and feature requests:\n\n1. Use [GitHub Issues](https://github.com/valor-software/ng2-select/issues) board to report bugs and feature requests (not our email address)\n2. Please **always** write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.\n\nThanks for understanding!\n\n### License\n\nThe MIT License (see the [LICENSE](https://github.com/valor-software/ng2-select/blob/master/LICENSE) file for the full text)\n","funding_links":[],"categories":["Uncategorized","Awesome Angular [![Awesome TipeIO](https://img.shields.io/badge/Awesome%20Angular-@TipeIO-6C6AE7.svg)](https://github.com/gdi2290/awesome-angular) [![Awesome devarchy.com](https://img.shields.io/badge/Awesome%20Angular-@devarchy.com-86BDC1.svg)](https://github.com/brillout/awesome-angular-components)"],"sub_categories":["Uncategorized","Angular \u003ca id=\"angular\"\u003e\u003c/a\u003e"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalor-software%2Fng2-select","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalor-software%2Fng2-select","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalor-software%2Fng2-select/lists"}