[Custom Input Masks] text-align set to right for numeric input

Forge Component
(43)
Published on 2019-04-22 by Marcelo Ferreira
43 votes
Published on 2019-04-22 by Marcelo Ferreira

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

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


Solution

Thank you :)