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

multiselect-combo-box

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multiselect-combo-box - npm Package Compare versions

Comparing version 2.3.1 to 2.4.0-alpha

2

package.json

@@ -15,3 +15,3 @@ {

"name": "multiselect-combo-box",
"version": "2.3.1",
"version": "2.4.0-alpha",
"main": "multiselect-combo-box.js",

@@ -18,0 +18,0 @@ "directories": {

@@ -100,3 +100,5 @@ import {PolymerElement} from '@polymer/polymer/polymer-element.js';

disabled="[[disabled]]"
pageSize="[[pageSize]]">
page-size="[[pageSize]]"
allow-custom-value="[[allowCustomValues]]"
on-custom-value-set="_handleCustomValueSet">

@@ -205,3 +207,5 @@ <multiselect-combo-box-input

/**
* Number of items fetched at a time from the dataprovider. This property is delegated to the underlying `vaadin-combo-box`.
* Number of items fetched at a time from the dataprovider.
*
* This property is delegated to the underlying `vaadin-combo-box`.
*/

@@ -256,2 +260,13 @@ pageSize: {

/**
* If `true`, the user can input a value that is not present in the items list.
* `value` property will be set to the input value in this case.
*
* This property is delegated to the underlying `vaadin-combo-box`.
*/
allowCustomValues: {
type: Boolean,
value: false
},
/**
* Custom function for rendering the content of every item.

@@ -337,2 +352,16 @@ * Receives three arguments:

_handleCustomValueSet(event) {
event.preventDefault();
if (event.detail) {
this.$.input.value = null; // clear input
const customValuesSetEvent = new CustomEvent('custom-values-set', {
detail: event.detail,
composed: true,
cancelable: true,
bubbles: true
});
this.dispatchEvent(customValuesSetEvent);
}
}
_customIsSelected(item, selectedItem, itemIdPath) {

@@ -339,0 +368,0 @@ if (item instanceof ComboBoxPlaceholder) {

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