erhanfirat / combo-tree

ComboTree is a jQuery Plugin which is a combobox item with tree structured data list and multi/single selection options and more.
MIT License
79 stars 67 forks source link

when data lacks ID, drop-down arrow icon disappears #48

Open nmz787 opened 2 years ago

nmz787 commented 2 years ago

I'm not sure why this is happening, but if the JSON data lacks an ID for each element, the plugin still works well, but the downward pointing icon doesn't show up.

I don't want/need my data to have an ID, and don't want to synthesize one either.

nmz787 commented 2 years ago

hmm, well I synthesized some IDs and it doesn't actually help, so I guess it's something about having the selection input element inside of a table td, or something with CSS. I'll dig in more.

DHogan605 commented 1 year ago

newby here with css but I am having the same problem, would it be better to explicitly state the desired checkbox behavior in the style.css to override the style people like me are inheriting by putting this into an existing project, i confirmed my existing css is causing the issue but am having a heck of time finding what exact line or lines are causing the issue, however if the style.css for this forced in what it needed to work then that would make it much more portable