Hi,
I have to add a dropdown treeview control to a D365 ce opportunity form. I would like to have something like case/subject field. I need the have 3 levels and the possibility to close the groups.
The perfect one would be something like this (without the red parts :) )

I have found the PCF https://pcf.gallery/grouped-optionset/ but it has only 2 levels and missing the close group function.
Could you please suggest some solution for this problem (every idea welcomed not only pcf ones) ?
Thanks your help in advanced!