iptdevs-design-system 3.1.357 → 3.1.358
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/input/input.component.mjs +4 -3
- package/fesm2015/iptdevs-design-system.mjs +3 -2
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +3 -2
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/components/atoms/input/input.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -308,12 +308,13 @@ class InputComponent {
|
|
|
308
308
|
onKeyUp(event) {
|
|
309
309
|
clearTimeout(this.typingTimer);
|
|
310
310
|
this.typingTimer = setTimeout(() => {
|
|
311
|
-
this.typingStopped.emit();
|
|
311
|
+
this.typingStopped.emit(event.target.value); // Cambio aquí: pasando el valor del input
|
|
312
312
|
}, this.doneTypingInterval);
|
|
313
313
|
}
|
|
314
314
|
onBlur() {
|
|
315
315
|
clearTimeout(this.typingTimer);
|
|
316
|
-
|
|
316
|
+
// También puedes emitir el valor cuando el usuario deja el input
|
|
317
|
+
this.typingStopped.emit(this.formControl.value.value); // Cambio aquí: pasando el valor del input
|
|
317
318
|
}
|
|
318
319
|
}
|
|
319
320
|
InputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: InputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|