Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will v-sortable work with v-flex? #34

Open
ronnlixx opened this issue Jul 24, 2018 · 0 comments
Open

Will v-sortable work with v-flex? #34

ronnlixx opened this issue Jul 24, 2018 · 0 comments

Comments

@ronnlixx
Copy link

I'm trying to use v-sortable on a grid of v-flex'es and I cant seem to get it sorting, no errors of any kind, just not sortable.

Is my usage of vue-sortable correct?

main.js

import Sortable from 'vue-sortable'
Vue.use(Sortable)

example:

<v-layout row wrap>
  <v-flex v-sortable v-for="(person, index) in loadedRecords" :key="index"  xs6>
              <v-card>
                <v-card-text>
                  <p class="">{{person.first_name}} {{person.last_name}}</p>
                </v-card-text>
              </v-card>
  </v-flex>
</v-layout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant