Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48979

Ion select option in ionic 6.18 & vue 3 not saving selections

$
0
0

I am using ionic version 6.18 with vue3. The list of items to be generated shows and multiple items can be selected. However when I check the firebase collection, The options that were selected are not there. Here is my code from the template

    <ion-label>Services Provided</ion-label>

    <ion-select  multiple="true" cancel-text="Cancel" ok-text="Done">

      <ion-select-option v-model="formValues.service" v-for="service in serviceList" v-bind:key="service" >

        {{service}}

      </ion-select-option>

    </ion-select>

  </ion-item>

this code is in the setup in the script:

const serviceList= [ ‘AC Services’,‘Seamstress’, ‘Clothing Design’,‘Carpentry’,‘Taylor’]

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48979

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>