#Build and Deploy a Patient Management System with Next.js | Twilio, TypeScript, TailwindCSS

16 messages · Page 1 of 1 (latest)

split fulcrum
#

Help me

#

Billy can you help me

tropic jacinth
# split fulcrum Help me

hi, from your screenshot, it seems you have assigned the wrong value, and the value does not match the required data type. For example, in AppointmentForm.tsx, the timeZone argument is missing. Please send your AppointmentForm.tsx so i can check further

split fulcrum
tropic jacinth
#

Try using that file and see if you still get the error in AppointmentForm.tsx

split fulcrum
#

AppointmentForm got fixed but other 2 are not

tropic jacinth
# split fulcrum

You can add | null to your onChange in ReactDatePicker in CustomFormField.tsx

<ReactDatePicker
  showTimeSelect={props.showTimeSelect ?? false}
  selected={field.value}
  onChange={(date: Date | null) => field.onChange(date)}
  timeInputLabel="Time:"
  dateFormat={props.dateFormat ?? 'MM/dd/yyyy'}
  wrapperClassName="date-picker"
/>
tropic jacinth
# split fulcrum

Then, in patient.actions.ts, take note that the import InputFile comes from 'node-appwrite/file'

split fulcrum
tropic jacinth
# split fulcrum

Check where your InputFile is being imported from. It should be:

import { InputFile } from "node-appwrite/file"

and change fromBlob to fromBuffer

split fulcrum
tropic jacinth
#

please check your gender Elements, in my case its Male, Female and Other

split fulcrum
#

ya i did caps mistake

split fulcrum
#

?????