Problem with datatable edit with inputNumber extension

-1

I am trying to use datatable with edit with inputNumber of extensions, but when changing, the value is not sent when pressing enter. I took the primefaces example link to do the tests. I just changed the type year to bigdecimal to run with inputnumber. When it was whole and with inputText it worked. I know that inputNumber is a more complex element, but I have not come up with a possible solution yet. The only way it works, is by changing the field and clicking outside, according to gif.   <p:cellEditor><f:facetname="output"><h:outputText value="#{car.year}" /></f:facet> <f:facet name="input"><pe:inputNumber decimalPlaces="2" decimalSeparator="," thousandSeparator="." converter="inputNumber" value="#{car.year}" style="width:96%" label="Year"/></f:facet> </p:cellEditor>

Follow the post image on the console

    
asked by anonymous 27.12.2018 / 20:40

0 answers