js: update prefill value for tel & numeric fields (#57087)
This commit is contained in:
parent
9aa5753641
commit
73630363dc
|
@ -472,7 +472,7 @@ $(function() {
|
|||
} else {
|
||||
// replace text input value
|
||||
if ($(widget).is('.widget-prefilled') || $(widget).is('.widget-readonly') || data.modified_field == 'user') {
|
||||
$(widget).find('input[type=text], input[type=email], textarea').val(value.content);
|
||||
$(widget).find('input[type=text], input[type=tel], input[type=numeric], input[type=email], textarea').val(value.content);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue