Custom Component not rendering

Since there is no PDF output component which dynamically creates PDF from the HTML page. We were using the html2pdf as mentioned in the below page : PDFs Another Way: Custom Component + html2pdf

This component was working till May 2024. Since the retool is upgraded to V3.64, this component was not rendering because of the usage of model.data in .map, .reduce functions to create the dynamic HTML page.

Legacy custom components

"was"? as in you found a solution? if not, does using model.data in a .map() or .reduce() give any errors in the debug window or browser dev tools? in the screenshot you give I'm not seeing the use of either functions and it looks like it's rendering stuff (or is it suppose to render more than 3 buttons?)

1 Like