sp-dev-fx-controls-react icon indicating copy to clipboard operation
sp-dev-fx-controls-react copied to clipboard

TaxonomyPicker is hiding children when parent is Available for Tagging == false

Open kasperbolarsen opened this issue 1 year ago • 8 comments

Category

[ ] Enhancement

[x] Bug

[ ] Question

Version

3.15.0

Expected / Desired Behavior / Question

I have a term group: image

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?

kasperbolarsen avatar Oct 19 '23 09:10 kasperbolarsen

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Oct 19 '23 09:10 ghost

Thank you for submitting your first issue to this project.

github-actions[bot] avatar Oct 19 '23 09:10 github-actions[bot]

Can confirm that I have the same problem. Any updates on this issue?

vofflan avatar Nov 09 '23 15:11 vofflan

@kasperbolarsen I changed and use ModernTaxonomyPicker instead and then it will work as expected image

vofflan avatar Nov 27 '23 14:11 vofflan

Is the ModernTaxonomyPicker an updated version or another implementation?

kasperbolarsen avatar Nov 27 '23 19:11 kasperbolarsen

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.

vofflan avatar Nov 27 '23 20:11 vofflan

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:

image

Behavior of the TaxonomyPicker:

image

Behavior of the native column in a list:

image

Can you confirm on your side?

michaelmaillot avatar Apr 13 '24 14:04 michaelmaillot

Hey Michael, I just checked and as far as I can tell the issue have been resolved :-)

kasperbolarsen avatar Apr 14 '24 15:04 kasperbolarsen