chore: formik updateField

This commit is contained in:
Ibrahima G. Coulibaly
2024-06-27 21:25:11 +01:00
parent a6eb5d59e9
commit da93452bd3
12 changed files with 66 additions and 49 deletions

View File

@@ -31,10 +31,7 @@ const RadioWithTextField = ({
/>
<TextFieldWithDesc
value={value}
onChange={(val) => {
if (typeof val === 'string') onTextChange(val);
else onTextChange(val.target.value);
}}
onOwnChange={onTextChange}
description={description}
/>
</Box>