@ni/nimble-components 28.2.0 → 28.2.1
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/dist/all-components-bundle.js +3 -3
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +1 -1
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/select/index.js +2 -2
- package/dist/esm/select/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -8962,7 +8962,7 @@ t.unsubscribe(this,"value"),t.unsubscribe(this,"hidden"),t.unsubscribe(this,"dis
|
|
|
8962
8962
|
t.subscribe(this,"value"),t.subscribe(this,"hidden"),t.subscribe(this,"disabled")})),this.setProxyOptions(),this.updateValue(),this.filterOptions(),n&&(this.value=n),this.committedSelectedOption=this.options[this.selectedIndex]}clickHandler(e){if(this.disabled)return
|
|
8963
8963
|
let t=!1
|
|
8964
8964
|
if(this.open){const n=e.target.closest("option,[role=option]")
|
|
8965
|
-
if(t=null!==n,n?.disabled)return}const n=this.
|
|
8965
|
+
if(t=null!==n,n?.disabled)return}const n=this.selectedIndex
|
|
8966
8966
|
super.clickHandler(e),this.open=this.collapsible&&!this.open,!this.open&&this.selectedIndex!==n&&t&&this.updateValue(!0)}handleChange(e,t){const n=e
|
|
8967
8967
|
switch(t){case"value":this.updateValue()
|
|
8968
8968
|
break
|