question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Store & propertyNames

See original GitHub issue

Hellow !

I’m trying to use your nice component on a project, unfortunatly I just encountered several problems 😦

So, the component beeing unable to update using computed props on :data, I noticed u added the new store option which I’m trying to use.

  • Firstly I noticed that changing the propertyNames.children and propertyNames.id weren’t working anymore (but text still works).
  • Secondly I’m still unable to use Store’s module

My tree options treeOptions: { store: { store: this.$store, getter: "treeStore", mutations: ["updateTree"] }, checkbox: true, propertyNames: { text: "myname", children: "mychildren" }, filter: { plainList: true } }

My Store: import forest from "./forest" const store = new Vuex.Store({ modules: { forest }, }); My Store module “forest” export default { namespaced: true, treeStore: [], getters, mutations: { updateTree(state, newData) { state.treeStore = newData; } }, actions };

Could you give me a hand in order to solve those problems please? Thank you kindly :p.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
amsikcommented, Sep 25, 2018

Изменил поведение библиотеки с Vuex. Еще докумнтацию не обновил, пока нет возможности это сделать. Но в примерах надеюсь все очень понятно сделано. Надеюсь поможет 😃 Пишите, если что-то не будет получаться или появятся какие-либо вопросы. пс. Обновленная версия доступна на npm

1reaction
xGenovaxcommented, Jul 6, 2018

Thank you for your answer 😃. And about the propertyname parameters, is it a bug ? I’m using the store option in order to keep the LiquorTree updated with my vuex, but now I can’t access my nodes and objects’s id because the PropertyNames options children and id aren’t working anymore 😮 So by now I have to rename each of my datas’ nodes before storing into my store xD

Read more comments on GitHub >

github_iconTop Results From Across the Web

Properties (Java Platform SE 7 )
The Properties class represents a persistent set of properties. The Properties can be saved to a stream or loaded from a stream.
Read more >
ee.Feature.propertyNames - Earth Engine
propertyNames. Stay organized with collections Save and categorize content based on your preferences. Returns the names of properties on this ...
Read more >
Stores Properties
Property names are case sensitive when used in initparm but not case sensitive when set in sysopts . store.providerName is a java system...
Read more >
object — Understanding JSON Schema 2020-12 ...
Unevaluated Properties; Required Properties; Property names; Size. Objects are the mapping type in JSON. They map “keys” to “values”. In JSON, the “keys” ......
Read more >
Where does Entity Framework store the mapping between ...
I've noticed that while in some cases the names of the columns in SQL match the property names of the query's element type,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found