Hi,
I did a mobile page with some input mask on it. When I display the page on browser, the input mask doesn't work! I did the same page in regular mode and the input mask are ok!
Here are my code :
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.org/ui"
xmlns:pm="http://primefaces.org/mobile">
<f:view renderKitId="PRIMEFACES_MOBILE" />
...
<pm:page id="sortiePage">
<pm:header title="#{msg['sortie.entete']}" />
<pm:content>
<h:form id="sortieForm">
<p:messages id="messages" autoUpdate="true" styleClass="messageErreur"/>
<p:outputPanel id="sortieFormPanel">
<pm:field>
<p:outputLabel for="receptionnaire" style="font-weight:bold" value="#{msg['sortieretour.receptionnaire']}" />
<p:inputMask id="receptionnaire" value="#{sortieRetour.dataEntry.receptionnaire}" mask="99999" maxlength="5" size="13" required="true" requiredMessage="#{msg['validation.msg.receptionnaire']}" />
</pm:field>
...
Any idea?
Thanks.
InputMask Doesn't work
I am also having problems with inputMask and PFM5. I am able to enter any data in to the input field.
<pm:field>
<p:outputLabel for="X1APS1HZ" value="X1 to PS1 Offset Horizontal" />
<p:inputMask id="X1APS1HZ" value="#{quoteBean.x1APS1HZ}" mask="9.999"/>
</pm:field>
<pm:field>
<p:outputLabel for="X1APS1HZ" value="X1 to PS1 Offset Horizontal" />
<p:inputMask id="X1APS1HZ" value="#{quoteBean.x1APS1HZ}" mask="9.999"/>
</pm:field>
Same problem here.
I've got an inputMask:
In normal mode masked input works:
When switched to mobile mode with <f:view renderKitId="PRIMEFACES_MOBILE" />
Input looks like this:
Strangely, I haven't found much information about this issue, so I assume, there is a common workaround, I'm not familiar with.
Any help, please?
I've got an inputMask:
Code: Select all
<p:inputMask id="phoneNumber" mask="(999) 999-99-99" value="#{bean.field}"></p:inputMask>
When switched to mobile mode with <f:view renderKitId="PRIMEFACES_MOBILE" />
Input looks like this:
Strangely, I haven't found much information about this issue, so I assume, there is a common workaround, I'm not familiar with.
Any help, please?
-
- Posts: 1
- Joined: 02 Jul 2017, 02:26
Same problem with InputMask PrimeNG in mobile, the PrimeNG's example page for InputMask doesn't work in mobile too.
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 22 guests