vaadin/vaadin-combo-box

Name: vaadin-combo-box

Owner: Vaadin

Description: The Web Component for displaying a list of items with filtering. Part of the Vaadin components.

Created: 2015-08-26 09:04:01.0

Updated: 2018-05-23 12:08:21.0

Pushed: 2018-05-23 12:08:19.0

Homepage: https://vaadin.com/components

Size: 3109

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

npm version Published on webcomponents.org Polymer 2 supported Build Status Gitter

Published on Vaadin  Directory Stars on vaadin.com/directory

<vaadin-combo-box>

Live Demo ? | API documentation ?

<vaadin-combo-box> is a Polymer element combining a dropdown list with an input field for filtering the list of items, part of the Vaadin components.

-bind>
emplate>
<iron-ajax url="https://randomuser.me/api?results=100&inc=name,email" last-response="{{response}}" auto></iron-ajax>
<vaadin-combo-box label="User" placeholder="Please select" items="[[response.results]]" item-value-path="email" item-label-path="email"></vaadin-combo-box>
template>
m-bind>

Screenshot of vaadin-combo-box

Getting Started

Vaadin components use the Lumo theme by default.

The file structure for Vaadin components
Running demos and tests in browser
  1. Fork the vaadin-combo-box repository and clone it locally.

  2. Make sure you have npm installed.

  3. When in the vaadin-combo-box directory, run npm install and then bower install to install dependencies.

  4. Run polymer serve --open, browser will automatically open the component API documentation.

  5. You can also open demo or in-browser tests by adding demo or test to the URL, for example:

  6. http://127.0.0.1:8080/components/vaadin-combo-box/demo

  7. http://127.0.0.1:8080/components/vaadin-combo-box/test

Running tests from the command line
  1. When in the vaadin-combo-box directory, run polymer test
Following the coding style

We are using ESLint for linting JavaScript code. You can check if your code is following our standards by running gulp lint, which will automatically lint all .js files as well as JavaScript snippets inside .html files.

Creating a pull request
License

Apache License 2.0

Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.