From 501b8a8cf594aa31b5bde705676f235d41a6f17e Mon Sep 17 00:00:00 2001 From: navaneeth Date: Fri, 20 Aug 2021 17:38:10 +0530 Subject: [PATCH] Fix for incorrect table radio button values --- frontend/src/Editor/Components/Table/Radio.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Editor/Components/Table/Radio.jsx b/frontend/src/Editor/Components/Table/Radio.jsx index b6b704d83b..5e4b5c5a93 100644 --- a/frontend/src/Editor/Components/Table/Radio.jsx +++ b/frontend/src/Editor/Components/Table/Radio.jsx @@ -2,7 +2,7 @@ import React, { useState } from 'react'; export const Radio = ({ options, value, onChange, readOnly }) => { - value = value || []; + value = value === undefined ? [] : value; return (