Skip to content
Snippets Groups Projects
Verified Commit d7a9318b authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix(treeSelect): check if internalNodesSymbol available

parent b17b3d77
No related branches found
No related tags found
No related merge requests found
......@@ -288,6 +288,11 @@ function formatKeyLabel(node) {
* @return {Array}
*/
function buildTreeLabels(value) {
if (!this[internalNodesSymbol]) {
return [value];
}
let node = this[internalNodesSymbol].get(value);
if (node === undefined) {
node = this[internalNodesSymbol].get(parseInt(value));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment