diff --git a/src/utils.js b/src/utils.js index bfa6cf9a..a54aedb8 100644 --- a/src/utils.js +++ b/src/utils.js @@ -92,7 +92,7 @@ export function getValueFromEvent(e) { return e; } const { target } = e; - return target.type === 'checkbox' ? target.checked : target.value; + return target.type === 'checkbox' || target.type === 'radio' ? target.checked : target.value; } export function getErrorStrs(errors) {