Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/vaadin-combo-box

Package Overview
Dependencies
Maintainers
19
Versions
304
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-combo-box - npm Package Compare versions

Comparing version 5.4.7 to 5.4.8

2

package.json

@@ -13,3 +13,3 @@ {

"name": "@vaadin/vaadin-combo-box",
"version": "5.4.7",
"version": "5.4.8",
"main": "vaadin-combo-box.js",

@@ -16,0 +16,0 @@ "author": "Vaadin Ltd",

@@ -1,13 +0,7 @@

[![npm latest version](https://badgen.net/npm/v/@vaadin/vaadin-combo-box/latest)](https://www.npmjs.com/package/@vaadin/vaadin-combo-box)
[![npm next version](https://badgen.net/npm/v/@vaadin/vaadin-combo-box/next)](https://www.npmjs.com/package/@vaadin/vaadin-combo-box)
[![Bower version](https://badgen.net/github/release/vaadin/vaadin-combo-box)](https://github.com/vaadin/vaadin-combo-box/releases)
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/vaadin/vaadin-combo-box)
[![Build Status](https://travis-ci.org/vaadin/vaadin-combo-box.svg?branch=master)](https://travis-ci.org/vaadin/vaadin-combo-box)
[![Coverage Status](https://coveralls.io/repos/github/vaadin/vaadin-combo-box/badge.svg?branch=master)](https://coveralls.io/github/vaadin/vaadin-combo-box?branch=master)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/vaadin/web-components?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
# <vaadin-combo-box>
[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/vaadinvaadin-combo-box)
[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/vaadinvaadin-combo-box.svg)](https://vaadin.com/directory/component/vaadinvaadin-combo-box)
> ⚠️ Starting from Vaadin 20, the source code and issues for this component are migrated to the [`vaadin/web-components`](https://github.com/vaadin/web-components/tree/master/packages/vaadin-combo-box) monorepository.
> This repository contains the source code and releases of `<vaadin-combo-box>` for the Vaadin versions 10 to 19.
# &lt;vaadin-combo-box&gt;
[&lt;vaadin-combo-box&gt;](https://vaadin.com/components/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](https://vaadin.com/components).

@@ -18,3 +12,6 @@ [Live Demo ↗](https://vaadin.com/components/vaadin-combo-box/html-examples)

[&lt;vaadin-combo-box&gt;](https://vaadin.com/components/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](https://vaadin.com/components).
[![npm latest version](https://badgen.net/npm/v/@vaadin/vaadin-combo-box/latest)](https://www.npmjs.com/package/@vaadin/vaadin-combo-box)
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/vaadin/vaadin-combo-box)
[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/vaadinvaadin-combo-box)
[![Discord](https://img.shields.io/discord/732335336448852018?label=discord)](https://discord.gg/PHmkCKC)

@@ -99,3 +96,3 @@ <!--

`theme/lumo/vaadin-combo-box.html`
`theme/lumo/vaadin-combo-box.html`
`theme/lumo/vaadin-combo-box-light.html`

@@ -105,9 +102,9 @@

`theme/material/vaadin-combo-box.html`
`theme/material/vaadin-combo-box.html`
`theme/material/vaadin-combo-box-light.html`
- Alias for `theme/lumo/vaadin-combo-box.html`
- Alias for `theme/lumo/vaadin-combo-box.html`
`theme/lumo/vaadin-combo-box-light.html`
`vaadin-combo-box.html`
`vaadin-combo-box.html`
`vaadin-combo-box-light.html`

@@ -114,0 +111,0 @@

@@ -263,3 +263,3 @@ /**

'_loadingChanged(loading)',
'_selectedItemChanged(selectedItem, itemLabelPath)',
'_selectedItemChanged(selectedItem, itemValuePath, itemLabelPath)',
'_toggleElementChanged(_toggleElement)'

@@ -687,4 +687,5 @@ ];

} else {
const toLowerCase = (item) => item && item.toLowerCase && item.toLowerCase();
const itemsMatchedByLabel = this.filteredItems
&& this.filteredItems.filter(item => this._getItemLabel(item) === this._inputElementValue)
&& this.filteredItems.filter(item => toLowerCase(this._getItemLabel(item)) === toLowerCase(this._inputElementValue))
|| [];

@@ -702,3 +703,3 @@ if (this.allowCustomValue

}
} else if (!this.allowCustomValue && !this.opened && itemsMatchedByLabel.length == 1) {
} else if (!this.allowCustomValue && !this.opened && itemsMatchedByLabel.length > 0) {
this.value = this._getItemValue(itemsMatchedByLabel[0]);

@@ -1051,3 +1052,3 @@ } else {

}
if (!this._closeOnBlurIsPrevented) {
if (!this.readonly && !this._closeOnBlurIsPrevented) {
this._closeOrCommit();

@@ -1054,0 +1055,0 @@ }

@@ -232,3 +232,3 @@ /**

static get version() {
return '5.4.7';
return '5.4.8';
}

@@ -235,0 +235,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc