My question is regarding a js tree with some nodes disabled. I am trying to retrieve selected node values without including the disabled nodes.
https://i.sstatic.net/N3W4A.png
I attempted to fetch the selected node values using the code snippet below, but it seems to be also capturing the disabled values
$(document).on('click', '#users_perm_save', function (event) {
var result = $('#jstree').jstree('get_selected');
});
Any insights on why this might be happening?