Currently, I am using syncfusion for converting my page to PDF format.
I have a toggle button that is default set to true. However, regardless of the actual state of the toggle button, it always appears as on (true) when exported to PDF.
I attempted to store the value in local and session storage but this did not solve the issue.
Could you please provide guidance on how to address this problem?
In essence, if the toggle button is off, the PDF should display as off; whereas if it's on and I export to PDF, it should appear as on.