File Upload not working when part of dynamic elements

I think you have the same problem as me Error uploading file directly to xano bypassing Weweb's CDN

can’t detect the file element but the other comment helped me.

use this to grab the element:

wwLib.getFrontDocument().querySelector(‘#file input’)