Hi,
I need to put a type = "number" in p: InputMask, how can I do this?
Thanks! Rafael.
p:inputMask with type="number"
InputMask doesn't have the "type" attribute. Where did you see this? Use "mask" to allow only digits or pe:keyFilter from the PE.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
I have not seen. I would use type="number" because of mobile open number keyboard.Oleg wrote:InputMask doesn't have the "type" attribute. Where did you see this? Use "mask" to allow only digits or pe:keyFilter from the PE.
I'll have to stop using the autocomplete if there is a way to put the type.
Thank you.
It is there on the doc under Properties
https://primefaces.org/primeng/showcase/#/inputmask
But it is not working?
https://primefaces.org/primeng/showcase/#/inputmask
But it is not working?
DOMException: Failed to execute 'setSelectionRange' on 'HTMLInputElement': The input element's type ('number') does not support selection.
-
- Posts: 1
- Joined: 20 Sep 2021, 12:05
In PrimeFaces p:inputMask there is no "type" available.
You posted the PrimeNG documentation. So what do you use?
If you use PrimeNG then u just picked the wrong topic.
You posted the PrimeNG documentation. So what do you use?
If you use PrimeNG then u just picked the wrong topic.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 36 guests