525
Views
3
Comments
Solved
[Custom Input Masks] text-align set to right for numeric input
Question
custom-masks
Web icon
Forge asset by Sara Gonçalves

Hi,

seems that MaskNumber, MaskPercentage and MaskCurrency are changing the alignment of my input field to right. Is there a reason for that behaviour?

Thanks & regards

Magnus

2019-05-22 11-30-09
Marcelo Ferreira
Solution

Hi Magnus,

Numeric fields normally are align to right that is why that is the default behavior of the component. If you want to change that you can use AdvancedOptions. the option for this is "{ rightAlign: false }".

Regards,

Marcelo


2022-10-18 07-32-49
Randall Jodache Chetty

Thanks for sharing 

2019-02-09 20-09-41
Aya El Banna

Thank you :)

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