Describe the bug
The toolbar buttons of the PDFViewer don't have an explicit type set. This causes issues when the PDFViewer is defined inside a form. Its being submitted when clicking any of the buttons.
Workaround
Manually set the type attribute to all buttons of the PDFViewer:
Describe the bug The toolbar buttons of the PDFViewer don't have an explicit
type
set. This causes issues when the PDFViewer is defined inside a form. Its being submitted when clicking any of the buttons.Workaround Manually set the
type
attribute to all buttons of the PDFViewer:https://stackblitz.com/edit/angular-tqg4os