sp-dev-fx-controls-react
sp-dev-fx-controls-react copied to clipboard
TaxonomyPicker is hiding children when parent is Available for Tagging == false
Category
[ ] Enhancement
[x] Bug
[ ] Question
Version
3.15.0
Expected / Desired Behavior / Question
I have a term group:
Manufacturing is not available for tagging, as it is just a logic grouping, not an actual department
I would expect all terms to be displayed, and Manufacturing should be not-selectable
Observed Behavior
The terms under Manufacturing are not loaded/displayed
Steps to Reproduce
Find a 3 or more level term set, and toggle the Available For Tagging field on one of the not-leaf terms
Perhaps the code be updated to check if the term is a leaf before hiding it?
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Thank you for submitting your first issue to this project.
Can confirm that I have the same problem. Any updates on this issue?
@kasperbolarsen I changed and use ModernTaxonomyPicker instead and then it will work as expected
Is the ModernTaxonomyPicker an updated version or another implementation?
Its another implementation that uses the rest api to reach termstore. I guess this is the implementation is the one to pick if you build new stuff. I had to rebuild some code but for me thats ok because my customer need this functionality to work right now.
Hi @kasperbolarsen & @vofflan,
Did you get the chance to test with latest version (3.17.0)? I tried it and it's working as expected if I'm not wrong.
Configuration at site collection level:
Behavior of the TaxonomyPicker:
Behavior of the native column in a list:
Can you confirm on your side?
Hey Michael, I just checked and as far as I can tell the issue have been resolved :-)