Answers for "vue get element"

0

vue get element

<v-select
      label="label"
      v-model="ccRcode"
      ref="ccRcode"
      :items="getData"
      item-text="descWithCode"
      item-value="code"
      value="{ ccRcode }"
      data-cy='select-input'
></v-select>

//In your JS code
cy.get('[data-cy=select-input]').select('optionValue')
Posted by: Guest on August-21-2021

Browse Popular Code Answers by Language