[BUG] [PDF Form Filler] Error Message Not Displayed
rwilson504 opened this issue · comments
Rick Wilson commented
Which PCF Component
PDF Form Filler
What type of Power App are you using this PCF component in?
- Canvas App
Describe the bug
When there are any errors generator during the PDF fill process the outputErrorMessage property is never updated to include the error.
To Reproduce
Steps to reproduce the behavior:
- Create Canvas App
- Configure the PDF Form Filler component
- In the OnChange action of the component set a variable to the outputErrorMessage property.
Set(outputErrorMessage, PDFFormFillCanvas1.outputErrorMessage);
- Create a new text field on the canvas set to the outputErrorMessage variable.
- Attempt to generate a PDF using a PDF that is corrupt.
- No error message is ever shown.
Expected behavior
An error message should be displayed with will provide additional information as to why the PDF did not generate. Additionally the outputError property should be set to true.