title: Customize upload button
body: <p>I want to wrap a hidden file upload button so I can localize the text.  That works.  However I now want to wrap label and upload button with a button rather than with a raw filled in div.  Every (3) css button library I have tried shows the button, poorly, File Open Dialog appears when file selected and Open click blank screen or an immediate post.  Is this just not possible or recommend an alternative that wraps a button around a localized file input?</p>
  <pre><code>&gt; &lt;style&gt;
  &gt;     .ui-widget-header, .ui-state-default, ui-button {
  &gt;         background: #b9cd6d;
  &gt;         border: 1px solid #b9cd6d;
  &gt;         color: #FFFFFF;
  &gt;         font-weight: bold;
  &gt;     }
  &gt; 
  &gt;     input[type=&quot;file&quot;] {
  &gt;         display: none;
  &gt;     }
  &gt; 
  &gt;     .custom-file-upload {
  &gt;         border: 1px solid #ccc;
  &gt;         display: inline-block;
  &gt;         padding: 6px 12px;
  &gt;         cursor: pointer;
  &gt;     } 
  &lt;/style&gt;
  </code></pre>
  <blockquote>
  <pre><code>&lt;div class=&quot;form-group&quot;&gt; &lt;button class=&quot;btn-sm&quot;&gt;
                          &lt;label for=&quot;ediFile&quot; class=&quot;custom-file-upload btn btn-default&quot;&gt;
                              &lt;span th:text=&quot;#{addYourEDI}&quot;&gt;&lt;/span&gt;
                              &lt;input type=&quot;file&quot; name=&quot;ediFile&quot; multiple=&quot;multiple&quot;
                                     accept=&quot;.pdf,.xls,.xlsx,.csv,.zip&quot; style=&quot;visibility: hidden;
  </code></pre>
  <p>position: absolute;&quot;
  class=&quot;btn btn-outline-secondary&quot; id=&quot;ediFile&quot; onchange=&quot;ediFileChange()&quot;/&gt;
  
  </p>
  </blockquote>