Radio buttons not working for me
pauldijou opened this issue · comments
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)
The issues is now part of the Beta roadmap. Thanks for reporting 👍
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"
}]