Spinner (1.3.0)

UI Components for React
Post Reply
designit
Posts: 4
Joined: 18 Jun 2017, 01:07

25 Dec 2017, 05:03

One can not type in a decimal number. e.g. typing in 2.25 is not possible.

I suspect it is because the function call to parseValue after KeyUp drops the '.' after parseFloat function.

For me, I changed function onInputKeyUp to simply not call parseValue on key === decimalSeparator, which works for me, but may not be the best, or most elegant, solution. (if (event.key === this.props.decimalSeparator) return;)

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

04 Jan 2018, 19:49

We'll check this, thank you.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

04 Jan 2018, 21:26

Fixed for 1.4.0 due 5th of January.

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests