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

Override "Create option "{label}"" in Creatable #1202

Closed
rubencodes opened this issue Sep 9, 2016 · 4 comments
Closed

Override "Create option "{label}"" in Creatable #1202

rubencodes opened this issue Sep 9, 2016 · 4 comments

Comments

@rubencodes
Copy link
Contributor

Is there an equivalent to the addLabelText option in the newest version of this package? It seems right now it defaults to "Create option "{label}"", but I would like to be able to customize this.

@mpigsley
Copy link

@rubencodes It looks like you can override it with the promptTextCreator prop that has the signature (label: String): String.

@rubencodes
Copy link
Contributor Author

Wonderful! I'll try this. I didn't see it in the documentation; should I

make a pull request adding it?

Ruben Martinez Jr

@mpigsley
Copy link

Yeah, I had to dive into the source to find it. Makes sense that it would be in the documentation 👍

@JedWatson
Copy link
Owner

Closed by #1206

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

No branches or pull requests

3 participants