surveyjs / custom-widgets

The collection of custom widgets for SurveyJS: Survey Library and Survey Creator :package:
https://surveyjs.io
MIT License
79 stars 78 forks source link

Add numericGroupSeparator as a serializable property in inputmask plugin #340

Closed obrassard closed 10 months ago

obrassard commented 10 months ago

Currently, there is no way to customize the numericGroupSeparator options in the inputmask plugin. Therefore when using a decimal or currency mask, we are forced to use , as separator (e.g. 123,456.00).

The changes in this PR allows users to override the separator in their survey config JSON, by adding numericGroupSeparator as a serializable property like it is already the case for other properties such as suffix or numericDigits

obrassard commented 10 months ago

Hi @dmitrykurmanov, I hope you are doing well ! Did you have time to look at this small PR, it would be useful for us if this fix was merged !

Thanks in advance