Mobile app Development
Eth Co
London, Uk
May 05, 2026
Project Summary
<p>Actually the cleanest fix: <strong>keep the file inputs outside the included partial</strong> so they're not duplicated. But since the partial is included twice, the simplest fix is to give each input a unique enough ID that only one exists per context, which they already have — the real problem is the label's <code>for</code> causes the input's <code>change</code> to fire, then the modal's focus restoration also fires it again.</p>