if the data not show when clicking edit button after set default value component, you can also use default value from react-hook-form
here is the example
const {
register,
handleSubmit,
control,
formState: { errors },
} = useForm<IssueFormData>({
resolver: zodResolver(issueSchema),
defaultValues: {
title: issue?.title || '',
description: issue?.description || '',
},
});