Skip to content

Commit fadaefe

Browse files
committed
fix(radios): fix trim value
Signed-off-by: btry <tbugier@teclib.com>
1 parent 0584604 commit fadaefe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

inc/fields/radiosfield.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ public function prepareQuestionInputForSave($input) {
9797
return ($value !== '');
9898
});
9999
$this->value = array_shift($this->value);
100+
$input['default_values'] = $this->value;
100101
}
101102
return $input;
102103
}

0 commit comments

Comments
 (0)