Skip to content

Commit 7856f75

Browse files
author
T_S_V
committed
Implemented #234 - inputmask - support suffix option
1 parent 7899bd8 commit 7856f75

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/inputmask.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ function init(Survey) {
2828
{
2929
name: "prefix",
3030
category: "general",
31-
31+
visible: false,
32+
},
33+
{
34+
name: "suffix",
35+
category: "general",
3236
visible: false,
3337
},
3438
{
@@ -93,6 +97,7 @@ function init(Survey) {
9397
options.digits = rootWidget.numericDigits;
9498
options.digitsOptional = rootWidget.numericDigitsOptional;
9599
options.prefix = surveyElement.prefix || "";
100+
options.suffix = surveyElement.suffix || "";
96101
options.placeholder = rootWidget.numericPlaceholder;
97102
}
98103
// if (surveyElement.inputMask == "datetime") {

0 commit comments

Comments
 (0)