Input type=“file” in Ember.js
问题 I wrote an Ember component that represents a styled input field that can handle file uploads. In order to achieve this I used a <div> and an <input> . The <input> has visibility: hidden and once the click event on the <div> is fired I fire the click event on the invisible <input> in the action handling of the Ember component. My problem is that after choosing files the action never reaches my Ember component. add-document-input.hbs <div {{action "add"}} class="floating-button"> <span>+</span>