Skip to content

Commit b339433

Browse files
fix: input masking
1 parent c1ddb20 commit b339433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/ppom.inputs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function ppom_init_js_for_ppom_fields(ppom_fields) {
8484
// masking
8585
case 'text':
8686
if (input.input_mask == undefined || input.input_mask == '') break;
87-
InputSelector.inputmask();
87+
InputSelector.inputmask({regex: input.input_mask});
8888
if (input.type === 'text' &&
8989
input.input_mask !== '' &&
9090
input.use_regex !== 'on') {

0 commit comments

Comments
 (0)