<p:spinner> Does not accept double

Asked

Viewed 50 times

1

Guys, good night.

I’m using Primefaces 5.0 and I have a problem with the component .

Every time I try to put a floating point value on it (25.43, for example) it changes only to the whole part of the value (25).

Does anyone have any idea what it might be?

<p:column><h:outputLabel for="ir" value="Imposto de Renda: " class="componentePF label"/></p:column>
<p:column><p:spinner id="ir" value="#{cenarioBean.tributosParametros.ir}" class="componentePF text"/></p:column>

1 answer

0

  • Erick, thanks for watching the showcase. I saw now that I could use the stepFactor to keep the value with comma (period, in case).

Browser other questions tagged

You are not signed in. Login or sign up in order to post.