@aquera/nile-elements 0.0.40-1 → 0.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "0.0.40-1",
6
+ "version": "0.0.41",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -531,7 +531,7 @@ export class NileSelect extends NileElement implements NileFormControl {
531
531
  const target = event.target as HTMLElement;
532
532
  const option = target.closest('nile-option');
533
533
 
534
- if(this.blockValueChange){
534
+ if(this.blockValueChange && option){
535
535
  this.emit('nile-block-change', { value: option?.value, name: this.name });
536
536
  this.hide();
537
537
  return;