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.

Excuse me, why I had use $.ajax to get options, but `vue-treeselect` not work.

See original GitHub issue

I had use $.ajax to get some result, and bind with :option. But vue-treeselect show me “no options avaliable”. my result’s format fits your rules.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
riophaecommented, Oct 30, 2017

似乎是直接修改了你绑定的那个 options 数组?vue-treeselect 由于实现上的原因,不能响应 options 数组的变化,所以如果需要动态加载选项的话,请参考一下文档这个部分:https://riophae.github.io/vue-treeselect/#delayed-loading

0reactions
riophaecommented, Nov 5, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

ajax loading not working · Issue #62 · riophae/vue-treeselect
Hi, I don't manage to load options via Ajax request. The options come in : but the nodemap stays empty : When I...
Read more >
Vue2 Tree Select Ajax call failing to load options
The JSON response from backend is correct. The problem is in using this tree select library to load options dynamically through an ajax...
Read more >
Vue-Treeselect
If your data of options is loaded via AJAX and have a different data structure than what vue-treeselect asks, e.g. your data has...
Read more >
Making the Move from jQuery to Vue - CSS-Tricks
Vue's code doesn't have a tie back to the DOM (outside of the el ... that does mean a bit more work, but...
Read more >
Select option with ajax not working as expected - October CMS
I have the following code on a page: PHP code section function onSelecaoGE(){ $this['temp'] = post('selecaoge'); }. and on page html
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