markfink / whaaaaat

Inquirer.js port to Python (https://www.npmjs.com/package/inquirer). people blame me for staling this project. I do not have time to work on this right now - whaaaaat do you want me to do? take it offline?
MIT License
83 stars 9 forks source link

Checkbox script is using the name as argument when selecting a field even if a value is provided #9

Closed waza-ari closed 6 years ago

waza-ari commented 6 years ago

https://github.com/finklabs/whaaaaat/blob/dfc69f33e00db495991e60c2a5dc4e5a662b0bb9/whaaaaat/prompts/checkbox.py#L177

When having multiple entries with the same name, but different values, whaaaaat still uses the name to select the entries, which leads to multiple elements being selected. Also, the return array contains the name and not the values which I'd expect.