InputMask don't overwrite value #2726
Unanswered
luccotta
asked this question in
PrimeFaces
Replies: 1 comment 2 replies
-
the InputMask library changed between 8 and 13. its now using https://github.com/RobinHerbots/Inputmask because the old jquery inputmask was dead and abandoned and this library is actively maintained. So the behavior will be different in certain circumstances but it was worth the upgrade. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
In JSF Primefaces 13, I have the following inputMask. If it already has a value, if I put the cursor before the letter and if I type another letter, the value is not replaced. Instead, the cursor just move to after the letter, but the letter itself doesn't change. In Primefaces 8 this used to work. How can I fix it, so the value is replaced?
<p:inputMask slotChar="" maxlength="1" mask="a" value="#{myBean.letter}" />
Thanks
Beta Was this translation helpful? Give feedback.
All reactions