All Projects → vaadin → Vaadin Combo Box

vaadin / Vaadin Combo Box

Licence: apache-2.0
The Web Component for displaying a list of items with filtering. Part of the Vaadin components.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Vaadin Combo Box

vaadin-text-field
The themable Web Component providing input controls. Part of the Vaadin components.
Stars: ✭ 29 (-74.34%)
Mutual labels:  web-component, polymer, webcomponents, custom-elements, vaadin
vaadin-dialog
High quality web component for modal dialogs. Part of the Vaadin platform.
Stars: ✭ 15 (-86.73%)
Mutual labels:  web-component, polymer, webcomponents, vaadin
Vaadin Form Layout
The Web Component providing configurable responsive layout for form elements. Part of the Vaadin components.
Stars: ✭ 15 (-86.73%)
Mutual labels:  webcomponents, polymer, web-component, vaadin
Vaadin Upload
The Web Component for uploading multiple files with progress indication. Part of the Vaadin components.
Stars: ✭ 87 (-23.01%)
Mutual labels:  webcomponents, polymer, web-component, vaadin
Vaadin Grid
vaadin-grid is a free, high quality data grid / data table Web Component. Part of the Vaadin components.
Stars: ✭ 383 (+238.94%)
Mutual labels:  webcomponents, custom-elements, web-component, vaadin
vaadin-split-layout
The Web Component which allows you to partition a layout into resizeable areas. Part of the Vaadin components.
Stars: ✭ 40 (-64.6%)
Mutual labels:  web-component, polymer, webcomponents, vaadin
vaadin-icons
Vaadin Icons is a collection of 600+ unique icons designed for web applications
Stars: ✭ 59 (-47.79%)
Mutual labels:  web-component, polymer, webcomponents, vaadin
Vaadin Date Picker
The Web Component providing a date selection field with scrollable month calendar. Part of the Vaadin components.
Stars: ✭ 158 (+39.82%)
Mutual labels:  webcomponents, polymer, web-component, vaadin
multiselect-combo-box
A multi select combo box web component based on Polymer and the vaadin-combo-box
Stars: ✭ 41 (-63.72%)
Mutual labels:  polymer, webcomponents, vaadin
vaadin-context-menu
The responsive Web Component for showing context dependent items for any element on the page. Part of the Vaadin components.
Stars: ✭ 26 (-76.99%)
Mutual labels:  polymer, webcomponents, vaadin
vaadin-checkbox
The Web Component for customized checkboxes. Part of the Vaadin components.
Stars: ✭ 18 (-84.07%)
Mutual labels:  polymer, webcomponents, vaadin
toggle-icon
toggle-icon is a custom element created with Polymer. It provides an extremely powerful and customizable switch that looks like a paper-icon-button.
Stars: ✭ 21 (-81.42%)
Mutual labels:  polymer, webcomponents, custom-elements
lego
🚀 Web-components made lightweight & Future-Proof.
Stars: ✭ 69 (-38.94%)
Mutual labels:  polymer, webcomponents, custom-elements
paper-chip
A chip web component made with Polymer 2 following Material Design guidelines
Stars: ✭ 30 (-73.45%)
Mutual labels:  polymer, webcomponents, custom-elements
cwco
Powerful and Fast Web Component Library with a Simple API
Stars: ✭ 27 (-76.11%)
Mutual labels:  web-component, webcomponents, custom-elements
Calcite Components
Web Components for the Calcite Design System. Built with Stencil JS. Currently in Beta!
Stars: ✭ 96 (-15.04%)
Mutual labels:  webcomponents, custom-elements, web-component
Vaadin Core
An evolving set of free, open source web components for building mobile and desktop web applications in modern browsers.
Stars: ✭ 382 (+238.05%)
Mutual labels:  webcomponents, polymer, vaadin
web-components
A set of high-quality standards based web components for enterprise web applications. Part of Vaadin 20+
Stars: ✭ 322 (+184.96%)
Mutual labels:  webcomponents, custom-elements, vaadin
Vaadin
An evolving set of open source web components for building mobile and desktop web applications in modern browsers.
Stars: ✭ 424 (+275.22%)
Mutual labels:  webcomponents, polymer, vaadin
Awesome Polymer
A collection of awesome Polymer resources.
Stars: ✭ 384 (+239.82%)
Mutual labels:  webcomponents, polymer, custom-elements

npm latest version Published on webcomponents.org Build Status Coverage Status Gitter

Published on Vaadin  Directory Stars on vaadin.com/directory

<vaadin-combo-box>

Live Demo ↗ | API documentation ↗

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

<vaadin-combo-box label="User" placeholder="Please select" item-value-path="email" item-label-path="email"></vaadin-combo-box>

<script>
  const comboBox = document.querySelector('vaadin-combo-box');

  fetch('https://randomuser.me/api?results=100&inc=name,email')
    .then(res => res.json())
    .then(json => comboBox.items = json.results);
</script>

Screenshot of vaadin-combo-box

Installation

Install vaadin-combo-box:

npm i @vaadin/vaadin-combo-box --save

Once installed, import it in your application:

import '@vaadin/vaadin-combo-box/vaadin-combo-box.js';

Getting Started

Vaadin components use the Lumo theme by default.

To use the Material theme, import the correspondent file from the theme/material folder.

Entry points

  • The components with the Lumo theme:

    theme/lumo/vaadin-combo-box.js theme/lumo/vaadin-combo-box-light.js

  • The components with the Material theme:

    theme/material/vaadin-combo-box.js theme/material/vaadin-combo-box-light.js

  • Alias for theme/lumo/vaadin-combo-box.js theme/lumo/vaadin-combo-box-light.js

    vaadin-combo-box.js vaadin-combo-box-light.js

Running API docs and tests in a browser

  1. Fork the vaadin-combo-box repository and clone it locally.

  2. Make sure you have node.js 12.x installed.

  3. Make sure you have npm installed.

  4. When in the vaadin-combo-box directory, run npm install to install dependencies.

  5. Run npm start, browser will automatically open the component API documentation.

  6. You can also open visual tests, for example:

Running tests from the command line

  1. When in the vaadin-combo-box directory, run npm test

Debugging tests in the browser

  1. Run npm run debug, then choose manual mode (M) and open the link in browser.

Following the coding style

We are using ESLint for linting JavaScript code. You can check if your code is following our standards by running npm run lint, which will automatically lint all .js files.

Big Thanks

Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs.

Contributing

To contribute to the component, please read the guideline first.

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].