Open dallasbeek opened 3 years ago
:id-config and :config don't play well together. If I have just :config the buttons are removed from the toolbarRight but when I add :id-config the buttons reappear.
<vue-pdf-app :id-config="pdfIdConfig" :config="pdfConfig" :pdf="pdfDocument" style="height: 75vh;"></vue-pdf-app> <BButton variant="primary" :id="pdfIdConfig.print">Print</BButton> data() { return { pdfIdConfig: { print: "printId", }, pdfConfig: { toolbar: { toolbarViewerRight: { openFile: false, viewBookmark: false } } }, }; }
In my example bookmark and file open on toolbar would be hidden and print button would work
toolbar buttons are not hidden
Hi! Yes, I confirm a bug
:id-config and :config don't play well together. If I have just :config the buttons are removed from the toolbarRight but when I add :id-config the buttons reappear.
Configuration:
Steps to reproduce the problem:
What is the expected behavior?
In my example bookmark and file open on toolbar would be hidden and print button would work
What went wrong?
toolbar buttons are not hidden
Attachments (screenshots, links, etc)