feat: set onChange for radio group

This commit is contained in:
karishmas6
2024-08-29 23:05:55 +05:30
parent f96f9a3bb0
commit 6313f1a69e

View File

@@ -186,7 +186,7 @@ export const InterpretationLog = () => {
<FormLabel> <FormLabel>
<h4>What is the maximum number of rows you want to extract?</h4> <h4>What is the maximum number of rows you want to extract?</h4>
</FormLabel> </FormLabel>
<RadioGroup row value={selectedOption}> <RadioGroup row value={selectedOption} onChange={handleRadioChange}>
<FormControlLabel value="10" control={<Radio />} label="10" /> <FormControlLabel value="10" control={<Radio />} label="10" />
<FormControlLabel value="100" control={<Radio />} label="100" /> <FormControlLabel value="100" control={<Radio />} label="100" />
<FormControlLabel value="custom" control={<Radio />} label="Custom" /> <FormControlLabel value="custom" control={<Radio />} label="Custom" />