elifTech / treeview-react-bootstrap

http://eliftech.github.io/treeview-react-bootstrap
MIT License
17 stars 11 forks source link

hrefs are not inserted into links #11

Open VladyslavaP opened 8 years ago

VladyslavaP commented 8 years ago

With enableLinks global option set to true and a simple data example such as :

 let data = [
      {
        text: 'Parent 1',
        href: 'test',
        nodes: [
          {
            text: 'Child 1',
            href: 'test1',
          },
          {
            text: 'Child 2',
          },
        ],
      },
      {
        text: 'Parent 2',
      },
 ];

In the resulting HTML <a>'s there are no href attributes.

teyushen commented 7 years ago

I am also encountering the same issue.

gandhiamar2 commented 7 years ago

is there any fix for this?

litpangchen commented 7 years ago

hi any solution for this ?

AAnkitaAswal commented 5 years ago

Hi is there is any solution for this issue?

teyushen commented 5 years ago

hope this can help you https://github.com/softleader/tree-viewer/blob/master/js/components/TreeList.jsx