Skip to content
New issue

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

Prefix and suffix cannot be a number #182

Open
paulosteffenm opened this issue Oct 22, 2024 · 0 comments
Open

Prefix and suffix cannot be a number #182

paulosteffenm opened this issue Oct 22, 2024 · 0 comments

Comments

@paulosteffenm
Copy link

paulosteffenm commented Oct 22, 2024

If you want to have a number in Prefix/Suffix the input field does not work.

For example:
<input
currencyMask
[options]="{ prefix:'9', thousands: ',', precision: 0 }"
type="text"
class="form-control"
id="Revenue"
name="Revenue"
formControlName="Revenue"
[ngClass]="{ 'border-danger': isInvalid('Revenue') }" />

This causes the input to add 9 every time a new number is added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant