We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When a OutputTransformFn function is configured, this is not always called when the control value is set programmatically.
OutputTransformFn
Works fine with version 8.0.2
8.0.2
I would say it was introduced with the fix for #1447
Consider having an input:
<input type="text" formControlName="amount" mask="separator.0">
When setting the values in code:
form.amount.setValue(null)
Then the OutputTransformFn is not called.
I think the problem is in NgxMaskService.formControlResult method. Correct would be: this.onChange(this.outputTransformFn(''));
this.onChange(this.outputTransformFn(''));
Angular Version:
18.2.11
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When a
OutputTransformFn
function is configured, this is not always called when the control value is set programmatically.Is this a regression?
Works fine with version
8.0.2
I would say it was introduced with the fix for #1447
Description
🔬 Minimal Reproduction
Consider having an input:
<input type="text" formControlName="amount" mask="separator.0">
When setting the values in code:
form.amount.setValue(null)
Then the
OutputTransformFn
is not called.I think the problem is in NgxMaskService.formControlResult method.
Correct would be:
this.onChange(this.outputTransformFn(''));
🌍 Your Environment
Angular Version:
The text was updated successfully, but these errors were encountered: