<template>
  <reference-book-item
    :dictionary="dictionary"
    :value="value"
    @load="dictionaryReady"
  >
    <template v-if="!isReadonly">
      <q-select
        class="dictionary-select"
        ref="select"
        :options="options"
        emit-value
        v-model="selected"
      />
    </template>
  </reference-book-item>
</template>

<script lang="ts" src="./index.ts"></script>
