forms: do not replace radio values when live prefill is played (#52054)
This commit is contained in:
parent
61367b05dc
commit
b779dec7ee
|
@ -365,7 +365,7 @@ $(function() {
|
|||
} else {
|
||||
// replace text input value
|
||||
if ($(widget).is('.widget-prefilled') || $(widget).is('.widget-readonly') || data.modified_field == 'user') {
|
||||
$(widget).find('input, textarea').val(value.content);
|
||||
$(widget).find('input[type=text], input[type=email], textarea').val(value.content);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue