delowardev / vue3-emoji-picker

Simple and Powerful Emoji Picker for Vue3
https://codesandbox.io/p/github/delowardev/vue3-emoji-picker/main?file=%2FREADME.md
MIT License
171 stars 34 forks source link

Group names not taken in account #25

Closed plfort closed 2 years ago

plfort commented 2 years ago

Hello, It seems that group names passed as props "group-names" are not used, I still get default names

  <EmojiPicker :native="true"
               :group-names="groupNames" />
...
...
computed: {
  groupNames() {
      return {
          "smileys_people": this.$t('emoji_picker.groups.smileys_people'),
          "animals_nature": this.$t('emoji_picker.groups.animals_nature'),
          "food_drink": this.$t('emoji_picker.groups.food_drink'),
          "activities": this.$t('emoji_picker.groups.activities'),
          "travel_places": this.$t('emoji_picker.groups.travel_places'),
          "objects": this.$t('emoji_picker.groups.objects'),
          "symbols": this.$t('emoji_picker.groups.symbols'),
          "flags": this.$t('emoji_picker.groups.flags')
      }
    }

}
delowardev commented 2 years ago

Hello @plfort, Thanks for reporting, I will take a look at this.