js: update prefill value for tel & numeric fields (#57087)

This commit is contained in:
Frédéric Péters 2021-09-20 08:40:01 +02:00
parent 9aa5753641
commit 73630363dc
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
});