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

PropsForm.Select transforms booleans into strings #187

Closed
alexcanessa opened this issue Jun 14, 2018 · 1 comment
Closed

PropsForm.Select transforms booleans into strings #187

alexcanessa opened this issue Jun 14, 2018 · 1 comment

Comments

@alexcanessa
Copy link

Passing a boolean as an option resolves into:

{
  [propertyName]: "true" | "false"
}

It would be nice to have it translate into boolean when "true" or "false".

Alternatively, a solution could be to have a PropsForm.Checkbox.

@johno
Copy link
Member

johno commented Jun 26, 2018

Great idea, Props.Checkbox added in #202.

@johno johno closed this as completed Jun 26, 2018
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

2 participants