<template>
  <div>
    <CMySelect
      :type_out="costanti.FieldType.object"
      :label="label"
      v-model="myvalue"
      :pickup="false"
      :addnone="value2 ? false : true"
      :dense="false"
      :tablesel="table"
      :myclass="myclass"
      :optval="fieldsTable.getKeyByTable(jointable)"
      :optlab="fieldsTable.getLabelByTable(jointable)"
      :options="globalStore.getTableJoinByName(jointable, false, !!value2, null, value2)"
      :useinput="false"
      :dark="$q.dark.isActive"
      @update:value="changevalRec"
    >
    </CMySelect>
  </div>
</template>

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

<style lang="scss" scoped>
@import './CMySelectCity.scss';
</style>
