@logo-elements/combo-box

23.0.4 • Public • Published

@logo-elements/combo-box

A web component for choosing a value from a filterable list of options presented in an overlay.

npm version

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

<script>
  const comboBox = document.querySelector('logo-elements-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 the component:

npm i @logo-elements/combo-box

Once installed, import the component in your application:

import '@logo-elements/combo-box';

For more detailed information, please visit:

Logo Elements Documentation ↗

Package Sidebar

Install

npm i @logo-elements/combo-box

Weekly Downloads

13

Version

23.0.4

License

See license in LICENSE file

Unpacked Size

6.94 kB

Total Files

4

Last publish

Collaborators

  • furkan.cetin
  • yusufyilmaz
  • serdarates
  • gamzeyapici
  • serhan.gurbuz