TypeError: path.split is not a function get code example Example: TypeError: path.split is not a function <input {...register('test', { required: true })} />