Skip to content

selvinfehric/multi-select-combo-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Published on webcomponents.org

Multi select combo box

Multi select combo box for Polymer 2 apps based on vaadin-combo-box component

Installation

The element can be installed using bower

    bower install selvinfehric/multi-select-combo-box

If you want to save it in bower.json file, remember to add flag --save

    bower install selvinfehric/multi-select-combo-box --save

Usage

<multi-select-combo-box items='["Item 1", "Item 2", "Item 3", "Item 4"]'></multi-select-combo-box>
<multi-select-combo-box items='[{ "id": 1, "name": "Name1" }, { "id": 2, "name": "Name2" }, { "id": 3, "name": "Name3" }, { "id": 4, "name": "Name4" }, { "id": 5, "name": "Name5" }]' value-field="id" display-field="name"></multi-select-combo-box>

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

Credits

Credits go to https://github.com/tomivirkki answer on this issue https://github.com/vaadin/vaadin-combo-box/issues/88

License

This project is licensed under the terms of the MIT license.