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

skip replacement if prefix is a number on an input number field #15323

Closed
wants to merge 2 commits into from

Conversation

elian1780
Copy link
Contributor

issue #15311

Copy link

vercel bot commented Apr 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
primeng ⬜️ Ignored (Inspect) Visit Preview Apr 20, 2024 8:46pm

@cetincakiroglu
Copy link
Contributor

Hi,

It breaks the component.

Try with:

<p-inputNumber inputId="integeronly" [(ngModel)]="value1" prefix="+01"> </p-inputNumber>

@cetincakiroglu cetincakiroglu added the Resolution: Needs Revision The pull request can't be merged. Conflicts need to be corrected or documentation and code updated. label Apr 26, 2024
@elian1780
Copy link
Contributor Author

sorry cant seem to replicate, with what value does it break?

@cetincakiroglu
Copy link
Contributor

Hi,

This issue is already fixed in #15311
Live demo: https://stackblitz.com/edit/8prmyj?file=src%2Fapp%2Finput-number-numerals-demo.html

Closing the PR, thanks a lot for the support!

@cetincakiroglu cetincakiroglu removed the Resolution: Needs Revision The pull request can't be merged. Conflicts need to be corrected or documentation and code updated. label May 14, 2024
@elian1780 elian1780 deleted the 15311 branch May 20, 2024 18:12
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

Successfully merging this pull request may close these issues.

None yet

2 participants