InputNumber decimal fraction problem

UI Components for React
Post Reply
turkceng
Posts: 1
Joined: 19 Sep 2019, 22:47

01 May 2020, 02:46

Hi,

For current behaviour, I couldn't pass to write fraction without moving or clicking manually.

Is it possible to continue writing fraction after typing '.' or ','.

Thanks.

aryaDev
Posts: 3
Joined: 19 Apr 2019, 07:07

04 May 2020, 12:11

Hi,

if i understand your problem correctly, you can use these following attributes

Code: Select all

   <p:inputNumber id="inputNumberId" ....
                                               decimalSeparator="."
                                               decimalPlaces="2"
                                               thousandSeparator="," .../> 
Arya
Java developer


<jsf-version>2.2.19</jsf-version>
<primefaces-version>7.0</primefaces-version>

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest