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

Actions fail for 'radio' type if there are 2 or less values #52

Open
kyork-cl opened this issue Mar 10, 2016 · 0 comments
Open

Actions fail for 'radio' type if there are 2 or less values #52

kyork-cl opened this issue Mar 10, 2016 · 0 comments

Comments

@kyork-cl
Copy link

To reproduce, create a device with an action that has a 'radio' type parameter with two or less values

.map('SetMode', this.SetMode, [{name:"mode", type:'radio', value:[{value:'Off'},{value:'Auto'}]}])

And open the server in the browser. You'll see there are two buttons instead of a drop down selector. When the button is pressed, a POST is generated, but no form data is included for the action.

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

1 participant