matcha-components 20.101.0 → 20.102.0
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.
|
@@ -5940,9 +5940,16 @@ class MatchaMaskService extends MatchaMaskApplierService {
|
|
|
5940
5940
|
(newInputValue !== this.currentValue && this.writingValue) ||
|
|
5941
5941
|
(this.previousValue === this.currentValue && justPasted);
|
|
5942
5942
|
}
|
|
5943
|
+
console.log('=== applyMask EMIT CHECK ===');
|
|
5944
|
+
console.log('result:', result);
|
|
5945
|
+
console.log('previousValue:', this.previousValue);
|
|
5946
|
+
console.log('currentValue:', this.currentValue);
|
|
5947
|
+
console.log('_emitValue:', this._emitValue);
|
|
5948
|
+
console.log('maskExpression:', this.maskExpression);
|
|
5949
|
+
console.log('dropSpecialCharacters:', this.dropSpecialCharacters);
|
|
5943
5950
|
// Propagate the input value back to the Angular model
|
|
5944
5951
|
// eslint-disable-next-line no-unused-expressions,@typescript-eslint/no-unused-expressions
|
|
5945
|
-
this._emitValue ? this.formControlResult(result) : '';
|
|
5952
|
+
this._emitValue ? this.formControlResult(result) : console.log('formControlResult NOT called because _emitValue is false');
|
|
5946
5953
|
// Handle hidden input and showMaskTyped
|
|
5947
5954
|
if (!this.showMaskTyped || (this.showMaskTyped && this.hiddenInput)) {
|
|
5948
5955
|
if (this.hiddenInput) {
|