@ekzo-dev/bootstrap-addons 5.2.23 → 5.2.24
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ekzo-dev/bootstrap-addons",
|
|
3
3
|
"description": "Aurelia Bootstrap additional component",
|
|
4
|
-
"version": "5.2.
|
|
4
|
+
"version": "5.2.24",
|
|
5
5
|
"homepage": "https://github.com/ekzo-dev/aurelia-components/tree/main/packages/bootstrap-addons",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -64,6 +64,15 @@ export class BsSelect extends BaseBsSelect implements ICustomElementViewModel {
|
|
|
64
64
|
|
|
65
65
|
selectOption(option: ISelectOption) {
|
|
66
66
|
this.value = option.value;
|
|
67
|
+
this.#dispatchEvents();
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
#dispatchEvents() {
|
|
71
|
+
const change = new Event('change', { bubbles: true });
|
|
72
|
+
const input = new Event('input', { bubbles: true });
|
|
73
|
+
|
|
74
|
+
this.control.dispatchEvent(input);
|
|
75
|
+
this.control.dispatchEvent(change);
|
|
67
76
|
}
|
|
68
77
|
|
|
69
78
|
#setHeight(): void {
|