'Attachments in Power Apps

I'm using Power Apps form to input a new line of information on SharePoint. I need to also put an attachment with the other information.

But since I'm doing this as a front end to users, I want the insert button to only be visible once all spaces have been filled, including the attachment.

For the text input parts the code is working and the button only appears once all are filled, but I can't find a logic to recognize that there is an attachment in the part of the form, and the button be visible only when it has the attachment ready to be uploaded...



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source