[Vuejs]-Vue carousel with dynamic data

0👍

Try to remove the binding sign : from v-for directive, the directives are bound by default to your properties :

  <div class="card-carousel-card" v-for="field in fieldlist">
                                    <div class="card-carousel--card-header">{{fieldlist.value}}</div>
                                    <div class="card-carousel--card"  v-for="schedule in schedulelist">
                                        <div class="btn button" :class="classStatus()" v-on:click="classStatus(3)" :disable="disableButton(2)">{{schedulelist.start_time}}-{{schedulelist.end_time}}</div>
                                    </div>
                                </div>

Leave a comment