pnp / pnp/sp-dev-fx-controls-react

InitialValues not working anymore for TaxonomyPicker v1.20

Open
#717 3 comments 0 reactions 1 assignee View on GitHub

@AJIXuMuK is already working on this.

Since Nov 9, 2020.

status:tracked
Dominant language
TypeScript
Stars
433
Forks
418
Avg merge
5d 6m
Merged PRs (30d)
19

Description

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!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.