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

Input: supported html types #75

Open
dinony opened this issue Jun 17, 2019 · 2 comments
Open

Input: supported html types #75

dinony opened this issue Jun 17, 2019 · 2 comments

Comments

@dinony
Copy link

dinony commented Jun 17, 2019

Hi,

In the docs the type attribute is claimed to allow:

HTML5 input type of the input element.

In a form I have to use radio buttons (type="radio"), but I think it is not supported?

@maschino
Copy link
Member

You're right - type radio (and type checkbox) are currently not supported. For simple binary inputs you could use OnOffToggleButton instead.

Could you explain your use case? Maybe we can add a component to satisfy it.

@dinony
Copy link
Author

dinony commented Jun 26, 2019

The use case is to use radio buttons. For now the analyst agreed on to use select. So, this is not an immediate feature request. At least the docs could be updated and the type prop could be type safer. Thanks!

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