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

PropertyFieldTermPicker anchorId support

Open c-eiser13 opened this issue 3 years ago • 1 comments

Category

  • [x ] Enhancement
  • [ ] Bug
  • [ ] Question

Version

Please specify what version of the library you are using: [ 3.9.0 ]

Expected / Desired Behavior / Question

I came across the need to use the property pane term picker and need to filter it down to a subset of tags beneath an existing termset. The reusable controls taxonomy picker supports this via the anchorId property and there is no existing functionality in this control to achieve the same results. I attempted to mirror that functionality in the property control, where, when you are using the limitByTermsetNameOrID to limit to a specific termset, then you can further limit to a subset of terms using an anchorId property, which is the guid of the sub term.

Will create a PR with this change and link to this item.

Thanks!

c-eiser13 avatar Sep 20 '22 22:09 c-eiser13

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

ghost avatar Sep 20 '22 22:09 ghost