ng-tailwind 4.5.46 → 4.5.47
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/fesm2020/ng-tailwind.mjs
CHANGED
|
@@ -2183,7 +2183,7 @@ class NgtInputComponent extends NgtBaseNgModel {
|
|
|
2183
2183
|
}
|
|
2184
2184
|
onNativeChange() {
|
|
2185
2185
|
if (this.hasChangesBetweenModels()) {
|
|
2186
|
-
this.value = this.getNativeValue();
|
|
2186
|
+
this.value = this.removeMasks(this.getNativeValue());
|
|
2187
2187
|
}
|
|
2188
2188
|
}
|
|
2189
2189
|
change(value) {
|
|
@@ -2770,7 +2770,7 @@ class NgtInputComponent extends NgtBaseNgModel {
|
|
|
2770
2770
|
|| this.ngtModal?.isDisabled;
|
|
2771
2771
|
}
|
|
2772
2772
|
hasChangesBetweenModels() {
|
|
2773
|
-
return this.getNativeValue() !== this.value;
|
|
2773
|
+
return this.removeMasks(this.getNativeValue()) !== this.value;
|
|
2774
2774
|
}
|
|
2775
2775
|
destroySubscriptions() {
|
|
2776
2776
|
this.subscriptions.forEach(subscription => subscription.unsubscribe());
|