Skip to content
Discussion options

You must be logged in to vote

Figured it out.

I needed to watch the props so that when the props were loaded async it would then update the model.

Here is the full code:

<template>
  <div class="col-12 col-sm-6 q-mb-md">
    <q-card flat bordered>
      <q-select
        v-bind="$attrs"
        v-model="model"
        :options="options"
        borderless
        label="Audit Date"
        class="q-px-md"
        :dropdown-icon="ionChevronDownOutline"
      >
        <template #no-option>
          <q-item>
            <q-item-section class="text-grey"> No results </q-item-section>
          </q-item>
        </template>
      </q-select>
    </q-card>
  </div>
</template>

<script setup lang="ts">
import { ionChevron…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@BenJackGill
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by BenJackGill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants