Angular 9 - How to create a Select Box with Groups and Subgroups?

前端 未结 0 1837
-上瘾入骨i
-上瘾入骨i 2021-01-21 08:38

I have an array of elements that look like this:

elements = [
{name: \'Root1\', id: 1, parent_id: null},  
{name: \'Child1\', id: 2, parent_id: 1}, 
{name: \'Chil         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题