Skip to content
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

Not able to set InitivalValues of TaxonomyPicker asynchronously #692

Closed
mohandivraniya opened this issue Oct 12, 2020 · 4 comments
Closed

Comments

@mohandivraniya
Copy link

Category

[ ] Enhancement

[X] Bug

[ ] Question

Version

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

Expected / Desired Behavior / Question

I am using TaxonomyPicker control and want to populate it (set InitialValues property of control) with existing data via an asynchronous call. It should display data in term picker.

Observed Behavior

I am not able to populate it once the control is initialized. If I pass hard coded value in react component controller in this.state, it accepts value and populates the control with it.

Steps to Reproduce

Add a taxonomy picker control on react component
Set InitialValues property to a state property
On a button click, load metadata from SharePoint list, parse/convert it to IPickerTerms and set state property which is bound to initialValues property of taxonomy picker control.

Thanks!

@ghost
Copy link

ghost commented Oct 12, 2020

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

@ghost ghost added the Needs: Triage 🔍 label Oct 12, 2020
@AJIXuMuK
Copy link
Collaborator

Hi @mohandivraniya.
Thank you for reporting this one!

There were changes to TaxonomyPicker related to #367
It could fix your issue as well.

Could you please test beta version and let us know if the issue has gone or no.

@ghost
Copy link

ghost commented Oct 25, 2020

This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within next 7 days of this comment. Thank you for your contributions to SharePoint Developer activities.

@ghost ghost closed this as completed Nov 1, 2020
@ghost
Copy link

ghost commented Nov 1, 2020

Closing issue due no response from original author. If this issue is still occurring, please open a new issue with additional details. Notice that if you have included another related issue as additional comment on this, please open that also as separate issue, so that we can track it independently.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants