We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c599103 commit 58f0faaCopy full SHA for 58f0faa
main/inc/lib/extra_field.lib.php
@@ -1109,7 +1109,9 @@ public function set_extra_fields_in_form(
1109
if (isset($field_details['default_value'])) {
1110
$defaults['extra_'.$field_details['variable']] = $field_details['default_value'];
1111
}
1112
- $form->setDefaults($defaults);
+ if (!isset($form->_defaultValues['extra_'.$field_details['variable']])) {
1113
+ $form->setDefaults($defaults);
1114
+ }
1115
if ($freezeElement) {
1116
$form->freeze('extra_'.$field_details['variable']);
1117
0 commit comments