No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. RobertIvoire
    3. Topics
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 6
    • Best 2
    • Groups 0

    Topics created by RobertIvoire

    • R

      Quasar + TypeScript + Vuelidate errors.
      Help • • RobertIvoire

      3
      1
      Votes
      3
      Posts
      918
      Views

      Y

      Having the same issues with the same stack. Were you able to fix it?

    • R

      Parsing Error: The file does not match your project config
      Help • • RobertIvoire

      5
      0
      Votes
      5
      Posts
      2187
      Views

      D

      Downgrade to Typescript version 3.8.3.

      https://github.com/typescript-eslint/typescript-eslint/issues/2127

    • R

      QInput with QDate in a custom component
      Help • • RobertIvoire

      4
      0
      Votes
      4
      Posts
      1125
      Views

      R

      @metalsadman Thanks, I deleted my initial reply because I thought it worked but then it didn’t. I fiddle around with what you told me, and for potential future readers, this is how I got it to work:

      The component:

      <template> <q-input stack-label :label="label" v-model="date"> <template v-slot:append> <q-icon name="event" class="cursor-pointer"> <q-popup-proxy> <q-date :value="date" @input="updateDate($event)" mask="YYYY-MM-DD" ></q-date> </q-popup-proxy> </q-icon> </template> </q-input> </template> <script lang="ts"> import Vue from 'vue'; export default Vue.extend({ name: 'DateInput', props: ['value', 'label'], data() { return { date: this.value }; }, methods: { updateDate(date: string) { this.date = date; this.$emit('input', this.date); } } }); </script>

      How I use it:

      <date-input :label="$t('date')" v-model="document.date" />

      Thanks again!