p:inputNumber doesn't fire valueChange-event

UI Components for JSF
Post Reply
danielkohl
Posts: 33
Joined: 02 Apr 2012, 15:24

24 Nov 2021, 08:18

Hi all,

see the following code-fragment:

Code: Select all

<p:inputNumber value="#{model.value}" symbol="%" symbolPosition="s" size="11" minValue="0" maxValue="100" decimalPlaces="0">
    <p:ajax event="valueChange" oncomplete="console.log('change');" />
</p:inputNumber>
We never get an "valueChange"-event?
We tried inputMask and inputText, too. They worked as expected.
I think it's a bug, isn't it??

We'are working on Version 8.0.

Thanks in advance
Daniel

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

25 Nov 2021, 19:48

Try just event="change" ??
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

danielkohl
Posts: 33
Joined: 02 Apr 2012, 15:24

25 Nov 2021, 20:21

Melloware wrote:
25 Nov 2021, 19:48
Try just event="change" ??
Of course :D that's was the first thing we've tried before posting here, but i didn't help too.

Thanks for your answer.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: jossey and 19 guests