Skip to content

InitialValues not working anymore for TaxonomyPicker v1.20 #717

Open
@gillesgg1

Description

@gillesgg1

Thank you for reporting an issue, suggesting an enhancement, or asking a question. We appreciate your feedback - to help the team understand your
needs please complete the below template to ensure we have the details to help. Thanks!

Please check out the documentation to see if your question is already addressed there. This will help us ensure our documentation is up to date.

Category

[ ] Enhancement

[X] Bug

[ ] Question

Version

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

I using this control on Sharepoint 2019 so I can't migrate to version V2

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 after getting value from a sharepoint list. It should display data in term picker. I used you control since the version 1.13 but since 1.19 the initial values doesn't work. I had to migrate to the latest version in order to have the other labels available when typing value in the control.

Steps to Reproduce

Add a taxonomy picker control on react component
On the componentDidMount funciton, put a value into the state
And then in the control, I put this value : initialValues={this.state.valueTest}
the control stay empty even if the variable is well filled in

Can you give me some feedback if you will upgrade the v1 or not?

Thanks!

Metadata

Metadata

Assignees

Labels

status:trackedTriaged and are being investigated further

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions