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

Nothing about 'buttons' in readme #2

Open
euwest opened this issue Aug 12, 2015 · 2 comments
Open

Nothing about 'buttons' in readme #2

euwest opened this issue Aug 12, 2015 · 2 comments

Comments

@euwest
Copy link

euwest commented Aug 12, 2015

The example in the readme doesn't have anything about the buttons property in it, which seems pretty important.

@amanjareck
Copy link

Causing "Cannot read property 'length' of undefined" the undefined part is "buttons"

Anyone found a workaround ?

@amanjareck
Copy link

amanjareck commented May 6, 2016

FYI, For anyone who is having troubles and cannot get it to work, the correct format for radio buttons

new RadioView({
label: 'Gender',
name: 'gender',
buttons: [
{
text: 'Male',
value: 'male'
},
{
text: 'Female',
value: 'female',
checked: true
}]
}),

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