-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TaxonomyPicker suggestion not working in SharePoint Online #629
Comments
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible. |
Hello, just found out that suggestions are not working also on on-prem SP 2019. Rest call (Payload) containst undefined parameter: it is called from: anchorId is undefined. Response is: Terms are loaded properly in Panel. |
Hmm i changed some lines and now it works: In TermPicker.js -> onFilterChanged function: In SPTermStorePickerService.js -> searchTermsByTermId function i have replaced data with this one: Now it works. |
Hello, I encountered the same issue on this component through an integration with SPFx ListCommand. I found the same issue in the query as @Matej4386 did. @Matej4386 In terms of correction that should not be suffisant to fix that way as if I'd like to let users select or search terms in the children of a specific term of my TermSet, it should use anchorId if it's not null and, if it's null, use the TermSetId. The change of the query is pretty much mandatory to be able to search without using a sub term as root of your field. I tested the correction of @Matej4386 and it's working for TermSet without needing an anchorId, this should be implemented. |
A correction has already been made on DEV so fix will arrive soon. I added a fix in a pull request that allow to directly provide result from sharepoint rest query loading list's fields. When passing the AnchorId parameter from a field's properties, the empty GUID was in use, making the suggestion query crash. I fixed this point. |
@TheThor59 when will the next version be released? |
Caan you please let me know when will the next version with the fix be released? |
@limcysam we plan to release the next version in next 2 weeks or so. |
Category
[ ] Bug
Version
Please specify what version of the library you are using: [ 1.19.0 ]
Expected / Desired Behavior / Question
Suggestion load as when clicked on the icon
Observed Behavior
Suggestion do not load with spinning wheel in type ahead
Steps to Reproduce
Type in a existing term within the textbox
The text was updated successfully, but these errors were encountered: