InputNumber Decimal

UI Components for Vue
Post Reply
Posts: 9
Joined: 19 Sep 2019, 13:32

04 May 2020, 23:24

Is there a way to use the currency on an InputNumber component without having to use the arrow keys to get to the decimal place?
For example if it want $123.45, I cannot just type 1 2 3 . 4 5, I have to type 1 2 3 and then arrow to the right to then type in 4 5 as the decimal.
It would be nice to either be able to type the decimal to indicate that the number after go into the decimal place, or to automatically make the last 2 digits typed to be the decimal since it's known that the currency need 2 decimal places.

Posts: 18474
Joined: 05 Jan 2009, 00:21
Location: Cybertron

04 Jul 2020, 10:09

Yes, we'll change the behavior in 2.0.1 to change the design of the component a bit to bring this behavior.

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests