-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
ux-radio #21
Comments
I'll take this one @EisenbergEffect if you can assign it to me. |
I'd like to help out with this. |
Go for it! |
some ideas in this gist: https://gist.run/?id=a78d15898660218b8438e34dcc31f390 |
So perhaps two components, one for a simple use case, one for a more complex one. Single Radio component for simple use cases <ux-radio value="male" checked.bind="gender">Male</ux-radio> @jdanyow multi input idea that could wrap up the original. <ux-radio-group items-source.bind="colors" value.bind="color1"></ux-radio-group> Thoughts? |
I will leave this here as well, from an earlier discussion on gitter. To expand on what I copied below, the So the standard use of a radio button is: <input type="radio" name="color" value="red"> Red
<input type="radio" name="color" value="blue"> Blue I think there is a good game plan going forward with the following attributes: Leaving the following usage <ux-radio value="red" checked.bind="color"></ux-radio>
<ux-radio value="blue" checked.bind="color"></ux-radio>
<ux-radio value="red" checked.bind="color">Red</ux-radio>
<ux-radio value="blue" checked.bind="color">Blue</ux-radio>
<ux-radio value="red" checked.bind="color" label="Red"></ux-radio>
<ux-radio value="blue" checked.bind="color" label="Blue"></ux-radio> |
@ZHollingshead re: #21 (comment) two components: the radio primitive and the radio group/selector- sounds good 👍 |
Issue moved to aurelia/ux-components #13 via ZenHub |
Implement the ux-radio component for Material and iOS design.
The text was updated successfully, but these errors were encountered: