{"id":18304251,"url":"https://github.com/ember-bootstrap/ember-bootstrap-power-select","last_synced_at":"2025-04-05T12:08:35.995Z","repository":{"id":20154022,"uuid":"88918956","full_name":"ember-bootstrap/ember-bootstrap-power-select","owner":"ember-bootstrap","description":"Integrate ember-power-select into your ember-bootstrap forms","archived":false,"fork":false,"pushed_at":"2025-03-28T05:47:49.000Z","size":3023,"stargazers_count":40,"open_issues_count":16,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T11:11:22.723Z","etag":null,"topics":["ember","ember-addon","ember-bootstrap","ember-power-select"],"latest_commit_sha":null,"homepage":null,"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/ember-bootstrap.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2017-04-20T23:23:13.000Z","updated_at":"2024-05-30T02:31:15.000Z","dependencies_parsed_at":"2023-01-14T09:30:16.814Z","dependency_job_id":"b8302e95-0b4f-4bf0-bf26-5076f2adc9d5","html_url":"https://github.com/ember-bootstrap/ember-bootstrap-power-select","commit_stats":{"total_commits":365,"total_committers":19,"mean_commits":"19.210526315789473","dds":0.6383561643835616,"last_synced_commit":"7e49ad72cddb9a2e8413e88fcc2e54b432fa11e1"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-bootstrap%2Fember-bootstrap-power-select","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-bootstrap%2Fember-bootstrap-power-select/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-bootstrap%2Fember-bootstrap-power-select/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-bootstrap%2Fember-bootstrap-power-select/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ember-bootstrap","download_url":"https://codeload.github.com/ember-bootstrap/ember-bootstrap-power-select/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332612,"owners_count":20921853,"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":["ember","ember-addon","ember-bootstrap","ember-power-select"],"created_at":"2024-11-05T15:28:14.280Z","updated_at":"2025-04-05T12:08:35.975Z","avatar_url":"https://github.com/ember-bootstrap.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-bootstrap-power-select\n\n![CI](https://github.com/kaliber5/ember-bootstrap-power-select/workflows/CI/badge.svg)\n[![Ember Observer Score](https://emberobserver.com/badges/ember-bootstrap-power-select.svg)](https://emberobserver.com/addons/ember-bootstrap-power-select)\n[![npm version](https://badge.fury.io/js/ember-bootstrap-power-select.svg)](https://badge.fury.io/js/ember-bootstrap-power-select)\n\nIntegrate [Ember Power Select](http://www.ember-power-select.com/) into your [Ember Bootstrap](https://www.ember-bootstrap.com)\nforms.\n\n## Compatibility\n\n* Ember Power Select v6 or above\n* Ember Bootstrap v5 or above\n* Ember.js v3.28 or above\n* Ember CLI v3.28 or above\n* Node.js v14 or above\n\n\n## Installation\n\n```bash\nember install ember-bootstrap-power-select\n```\n\nThis will additionally install `ember-power-select` into your app, and setup its\nBootstrap theme, either by importing the appropriate Less or Sass file (if you use one of these preprocessors), or by\nediting your `ember-cli-build.js` to include the static theme CSS (if you use plain CSS). \n\n## Usage\n\nWith this addon installed, you have a new `controlType` of `power-select` available. Use the `options` property to\nset the array of selectable options:\n\n```hbs\n\u003cBsForm @model={{yourModel}} as |form|\u003e\n  \u003cform.element @controlType=\"power-select\" @property=\"foo\" @label=\"Choose\" @options={{options}} /\u003e\n\u003c/BsForm\u003e\n```\n\nIf your options array consists of objects, use the `optionLabelPath` to specify the property that should be used as the\noptions label:\n\n```hbs\n\u003cBsForm @model={{yourModel}} as |form|\u003e\n  \u003cform.element @controlType=\"power-select\" @property=\"foo\" @label=\"Choose\" @options={{options}} @optionLabelPath=\"title\" /\u003e\n\u003c/BsForm\u003e\n```\n\nIf you need more control over how the options label are rendered (e.g. for formatting or internalization) you should use the yielded `\u003ccontrol\u003e` component in block mode:\n\n```hbs\n\u003cBsForm @model={{yourModel}} as |form|\u003e\n  \u003cform.element @controlType=\"power-select\" @property=\"author\" @label=\"Author\" @options={{options}} as |el|\u003e\n    \u003cel.control as |option|\u003e\n      {{option.name}} (b. {{format-date option.dayOfBirth}})\n    \u003c/el.control\u003e\n  \u003c/form.element\u003e\n\u003c/BsForm\u003e\n```\n\n### Power Select Multiple\n\nThe `power-select-multiple` is also supported and works similarly to the `power-select` implementation.\n\n```hbs\n\u003cBsForm @model={{yourModel}} as |form|\u003e\n  \u003cform.element @controlType=\"power-select-multiple\" @property=\"foo\" @label=\"Choose\" @options={{options}} /\u003e\n\u003c/BsForm\u003e\n```\n\n### Advanced usage\n\nIf you need more control of the power-select configuration, use the yielded `control` component to get direct access\nto the power-select component. The power-select's `selected`, `disabled` properties and the `onChange`\naction are already wired up to the controlling `form.element` for you. Set any other options as you need:\n\n```hbs\n\u003cBsForm @model={{yourModel}} as |form|\u003e\n  \u003cform.element @controlType=\"power-select\" @property=\"foo\" @label=\"Choose\" @options={{options}} as |el|\u003e\n    \u003cel.control @searchEnabled={{true}} @searchPlaceholder=\"Type your name\" /\u003e\n  \u003c/form.element\u003e\n\u003c/BsForm\u003e\n```\n\nPlease consult the [Ember Power Select documentation](http://www.ember-power-select.com/docs) for all available options.\n\n## Contributing\n\nSee the [Contributing](CONTRIBUTING.md) guide for details.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fember-bootstrap%2Fember-bootstrap-power-select","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fember-bootstrap%2Fember-bootstrap-power-select","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fember-bootstrap%2Fember-bootstrap-power-select/lists"}