iptdevs-design-system 2.7.7 → 2.7.9
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/esm2020/lib/components/atoms/select/select.component.mjs +4 -2
- package/fesm2015/iptdevs-design-system.mjs +3 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +3 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/components/atoms/select/select.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -573,6 +573,7 @@ class SelectComponent {
|
|
|
573
573
|
constructor() {
|
|
574
574
|
this.boxShadow = 0;
|
|
575
575
|
this.clicked = false;
|
|
576
|
+
this.value = '';
|
|
576
577
|
this.disabledSel = false;
|
|
577
578
|
this.eventSelect = new EventEmitter();
|
|
578
579
|
this.eventToNextSelect = new EventEmitter();
|
|
@@ -589,6 +590,7 @@ class SelectComponent {
|
|
|
589
590
|
}
|
|
590
591
|
}
|
|
591
592
|
seleccionar(evt) {
|
|
593
|
+
this.value = evt;
|
|
592
594
|
if (this.eventSelect.emit(evt) !== this.defaultText) {
|
|
593
595
|
this.boxShadow = 1;
|
|
594
596
|
}
|
|
@@ -599,7 +601,7 @@ class SelectComponent {
|
|
|
599
601
|
setBinding() {
|
|
600
602
|
if (this.initialValue !== '') {
|
|
601
603
|
this.binding = this.initialValue;
|
|
602
|
-
this.eventToNextSelect.emit(
|
|
604
|
+
this.eventToNextSelect.emit(this.value);
|
|
603
605
|
}
|
|
604
606
|
else {
|
|
605
607
|
this.binding = this.defaultText;
|