This commit is contained in:
2024-10-17 19:58:27 +05:30
parent 0b080733fb
commit 9cd0a4e9c6
11 changed files with 471 additions and 78 deletions

View File

@@ -87,6 +87,7 @@ const FormField = ({
control={control}
name={name}
defaultValue={value}
rules={rules}
render={({ field }) => {
if (type === "select") {
@@ -514,6 +515,8 @@ const FormField = ({
<HStack bg={"#F5F8F6"} p={"3px"} rounded={"2px"} border={'1px solid #E1E7EF'} justifyContent={"space-between"} mt={3}>
{/* <Image w={"38px"} aspectRatio={"1/1"} src={ShariahLogo} /> */}
<Checkbox
// isChecked={value}
isChecked={field.value}
ps={1}
{...field}
{...props} size='md' colorScheme='forestGreen'>