V
V
Vlad Volodko2020-09-12 17:14:04
Vue.js
Vlad Volodko, 2020-09-12 17:14:04

How to group fields in VueJs?

Already sorted data arrives. The sort order is set in the admin panel.
I need those fields that have the same sort order to display in a specific block. Type as a group of fields.
joxi.ru/xAeQNg8hXZG6eA

In this screenshot, these two dropdowns should be placed one in one row if they have the same sorting.
select-buttons block in which to display such dropdowns

<div
                        v-for="item in productItem.modify"
                        :key="item.id"
                    >    
                        <div class="select-buttons " v-if=" item.modifier_id == 5 ">
                            <div class="multiselect-innner-c">
                                <multiselect
                                    :searchable="true"
                                    :show-labels="false"
                                    :placeholder="item.name"
                                    label="name"
                                    track-by="id"  
                                    :readonly="true"
                                    deselect-label="Can't remove this value"
                                    open-direction="bottom"
                                    v-model="post.dropDown[item.name_lat]" :options="item.modifire_data">
                                </multiselect>
                            </div>
                        </div>
                    </div>


Here is the site andy.puduland.com/laravel/YetiCoreLaravel/public/#...

I just can't figure out how to group the fields.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question