Client needs demand that we don't use the default SLDS style for the file uploads.
Basically, have a specific icon we have to use for uploads which isn't the SF one.
In prior releases, we were able to do this because the label for="" value of our custom component for adding attachments. The first time lightning:fileUpload was instantiated the value was "input-1" every time. We could use that to open the file upload when someone clicked on our label.
The newest release has modified the way this works, and it seems to be the case that the input-X value changes each time. So, we're trying to figure out a way to open the upload ui without knowing or predicting what the X value will be.
Thanks to Locker, we don't have a great way to interrogate the DOM to determine what the right value should be.
Any ideas about whether this is even feasible? Is there another approach worth investigating for this?
It would be great if lightning:fileUpload had a public method we could call to just open it, but I'm sure there are reasons.