Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Checkbox warns when label is a partial. #463

Open
Verikon opened this issue Jan 30, 2017 · 0 comments
Open

Checkbox warns when label is a partial. #463

Verikon opened this issue Jan 30, 2017 · 0 comments

Comments

@Verikon
Copy link

Verikon commented Jan 30, 2017

I've got a use case where the label is an evaluation of some JSX.

ie:
label : ( <span>Accept the <a href="...">Terms and Services</a></span> )

I was going to publish a pull request to loosen the proptype, but don't necessarily disagree with a label being strictly a string.

Happy to do a pull request, is there a suggested way to allow checkboxes to accept small partials?

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

No branches or pull requests

1 participant