Primeng: New Component: InputNumber

Created on 23 Oct 2016  路  36Comments  路  Source: primefaces/primeng

For ERP systems, this component is essential. It would be nice to have it in version

new feature

Most helpful comment

Coming soon in 9.1.0.

All 36 comments

1 - allows you to turn enter letters
2 - does not allow mask to decimal

i want this feature from same reason!

More examples please so we can gather requirements.

Upvote. Use Case: provide input as a number between 0 and 367

Really need a component in PrimeNG similar to the one in PrimeFaces. The only alternative is ng2-currency-mask and it's not updated regularly.

Same here. This component is really important.

Agreed. PrimeNG is so good at many things, this is an unfortunate weakness.
My main need is for currency input. Masked with thousands separators, decimal places; currency symbol nice but not essential.

Any updates? This requirement has been opened over a year ago. Was truly hoping it would be in production by now

Yeah that would be nice spinner is not good enough has to many bugs and its purpose is a bit different

this feature alone makes primeng looks bad.

you can use KeyFilter
<input type="text" pInputText pKeyFilter="money" placeholder="Money">

Just checked, Spinner and KeyFilter doesn't works like inputNumber from primefaces.
Please, add to the roadmap: we need inputNumber on PrimeNG!

I agree keyFilter & Spinner do not serve the job as inputNumber in Primefaces. This is much need component in PrimeNg. I request to add in future versions.

+1, please add this component

+1, please add this component

Requirement:
Would be nice if it could prevent user from entering specified number of digits after decimal point.

Example:
numberOfDegitsAfterDecimalPoint="3"

Valid Inputs:

  • 895545.22
  • 11.2
  • 66.1
  • 999
  • 10.568

It would be greate if you add component like in PrimeFaces. With ability to add number with only one possible dot or comma.

For anyone coming across this ticket: Spinner might be what you need.

image

What is the status for this?

+1

One more vote for inputNumber in PrimeNG. It is an essential requirement for apps which support multiple languages. Has it in a roadmap or plan yet?

Thanks.

This request is still opened since October 2016
+1

+1

+1

+1

We need this too!

We need this too!

+1

+1

+1

+1

+1

Coming soon in 9.1.0.

Really complex to implement but we are on track for 9.1.0.

Screen Shot 2020-04-13 at 23 14 48

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Helayxa picture Helayxa  路  3Comments

Helayxa picture Helayxa  路  3Comments

SchneMa picture SchneMa  路  3Comments

jisqaqov picture jisqaqov  路  3Comments

garethlewis picture garethlewis  路  3Comments