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

Issue with NimblePicker example #59

Open
vedmant opened this issue Jun 24, 2019 · 0 comments
Open

Issue with NimblePicker example #59

vedmant opened this issue Jun 24, 2019 · 0 comments

Comments

@vedmant
Copy link

vedmant commented Jun 24, 2019

I tried to use NimblePicker component and have following error:

[Vue warn]: Error in created hook: "TypeError: this.mutableData is undefined"
found in
---> at src/components/picker/nimblePicker.vue

Here is parts of my code:

<template>
  <div>
    <nimble-picker v-show="pickerOpened" :data="data" title="Pick your emoji..." emoji="point_up" set="messenger" @select="addEmoji" />
    ...
  </div>
</template>

import data from 'emoji-mart-vue/data/messenger.json'
import {NimblePicker} from 'emoji-mart-vue'

...
  data () {
    return {
      data: data,
      text: '',
      pickerOpened: false,
    }
  },
...

With vue devtools I can see that data is passed to NimblePicker correctly, but mutableData is undefined for some reason: https://screencast.com/t/eeODT2ktb3O https://screencast.com/t/ZfkU6kH9w

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