How to use "Up to vertex" while adding an Edge-Flange

I'm trying to add an Edge-Flange to a component in a sheet metal assembly that is vertex to an edge of another component but I'm receiving an error telling me  that I have to select an edge of the component I'm editing.

an image of the error and a simplified version of the assembly is attached if you want to take a look.

In attatched assembly I need to add an edge flange to 01-Front component vertex to Edge-Flange2 of 03-Left component.

Any kind of help is much appreciated.

SolidworksSheet Metal