119
Views
2
Comments
[Input Mask React] How to allow user enter space?
inputmask-react
Reactive icon
Forge asset by João Barata
Application Type
Reactive

Halo,


Some field i need to user allow to enter "Spacing". How to do?


Thank you

2018-12-06 15-56-48
Fernando Dinis

Hi,

This component is used mostly to mask numbers. So, in this cases for me it only makes sense to use spacing when you want to separate number group (for exemple: 12 000), and you can define this in the widget properties.


2024-01-09 17-43-33
Gustavo Colombelli

In my case I used the mask pattern: [a{*}]( [a{*}]){0,55}   
I used this pattern for name, which will restrict only words, followed by just 1 space between words. The {0, 55} represents the maxchar of the input.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.