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

TaxonomyPicker Cannot find name 'TermLabelAction' #293

Closed
JarecN opened this issue May 7, 2019 · 3 comments
Closed

TaxonomyPicker Cannot find name 'TermLabelAction' #293

JarecN opened this issue May 7, 2019 · 3 comments

Comments

@JarecN
Copy link

JarecN commented May 7, 2019

Category

[ ] Enhancement

[ ] Bug

[X] Question

Version

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

Question

Hi!

I am trying to add default TermLabelAction using code below, but VS Code keeps telling me "Cannot find name 'TermLabelAction'. What should I import to make that work?

termActions={{
actions: [new TermLabelAction("Get Labels")]
}}

Cheers
-Jarkko

@ghost
Copy link

ghost commented May 7, 2019

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

@estruyf
Copy link
Member

estruyf commented May 17, 2019

Thanks @JarecN for reporting this.

Seems that this class was not exported correctly. I have implemented a fix for this which will be included in version 1.13.2. Please feel free to test out the latest beta.

Here you can read more information on how you can test out the latest beta version: https://sharepoint.github.io/sp-dev-fx-controls-react/beta/

@estruyf estruyf added this to the 1.13.2 milestone May 17, 2019
@estruyf
Copy link
Member

estruyf commented May 22, 2019

This has just been released in the version 1.13.2.

@estruyf estruyf closed this as completed May 22, 2019
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