Skip to content

Instantly share code, notes, and snippets.

@marcos-bah
Created March 7, 2022 19:16
Show Gist options
  • Save marcos-bah/3b5c8c97eea632e97a7aa33d8a52b85c to your computer and use it in GitHub Desktop.
Save marcos-bah/3b5c8c97eea632e97a7aa33d8a52b85c to your computer and use it in GitHub Desktop.
<div>
<!-- TODO: Diminur botao de envio -->
<Button
@action="$refs['csv-file'].click()"
width="360px"
height="54px"
otherClass="text-none
subtitle-2
font-weight-light
px-12
my-2"
><template v-slot:text
>Selecionar arquivos para enviar</template
></Button
>
<input
ref="csv-file"
multiple
type="file"
accept=".csv, .pdf"
name="csv-folha-de-ponto"
class="d-none"
@change="uploadFiles($event.target.files)"
/>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment