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

Radio buttons not working for me #43

Closed
pauldijou opened this issue Jul 26, 2015 · 2 comments
Closed

Radio buttons not working for me #43

pauldijou opened this issue Jul 26, 2015 · 2 comments

Comments

@pauldijou
Copy link

All of the radio buttons generated from prompts type: list are not working with the following JS error in the console:

[6016:0726/125628:INFO:CONSOLE(28)] "Uncaught TypeError: Cannot read property 'value' of null", source: .../yeoman-app/src/renderer/components/prompts/list.jsx (28)
@stefanbuck
Copy link
Member

The issues is now part of the Beta roadmap. Thanks for reporting 👍

@bitshadow
Copy link
Contributor

I had the same error on list prompt.

Another reason of this not working is on on expand prompt is choices received from child process don't have value attribute. Object looks something like this.

[{
    "type": "expand",
    "message": "Overwrite app/index.html?",
    "choices": [{
        "key": "y",
        "name": "overwrite"
    }, {
        "key": "n",
        "name": "do not overwrite"
    }, {
        "key": "a",
        "name": "overwrite this and all others"
    }, {
        "key": "x",
        "name": "abort"
    }, {
        "key": "d",
        "name": "show the differences between the old and the new"
    }],
    "name": "overwrite"
}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants