You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Vue3 with script setup and no matter what I try the value of csv is still null. I am using the basic example after loading the myFile.csv which is a simple csv fromthe example nothing happens please help
<template>
<vue-csv-import
v-model="csv"
:fields="{name: {required: false, label: 'Name'}, age: {required: true, label: 'Age'}}"
>
<vue-csv-toggle-headers></vue-csv-toggle-headers>
<vue-csv-errors></vue-csv-errors>
<vue-csv-input></vue-csv-input>
<vue-csv-map></vue-csv-map>
</vue-csv-import>
<div>{{ csv }}</div> <!-- THIS NEVER CHANGES NO MATER WHAT!!!! -->.
</template>
<script setup>
const csv=ref(null);
</script>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using Vue3 with script setup and no matter what I try the value of csv is still null. I am using the basic example after loading the myFile.csv which is a simple csv fromthe example nothing happens please help
Beta Was this translation helpful? Give feedback.
All reactions