Maximum call stack size exceeded Error #1433
Unanswered
Isuru-Jayasuriya
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to load a pdf and populate the input fields using pdf-lib
import { Component, OnInit } from '@angular/core';
import { PDFDocument, StandardFonts } from 'pdf-lib';
@component({
selector: 'app-enrollment-form',
templateUrl: './enrollment-form.component.html',
styleUrls: ['./enrollment-form.component.css']
})
export class EnrollmentFormComponent implements OnInit {
pdfSrc: string = '../../assets/Form.pdf';
patientName: string = 'Dave';
constructor() { }
ngOnInit(): void {
}
async loadPDF() {
}
}
//HTML
When I call loadPDF() method, I get Maximum call stack size exceeded error. Can someone help me with that?
Beta Was this translation helpful? Give feedback.
All reactions