clearer key names
@@ -85,7 +85,8 @@ const GeneratedUI = ({settings, ui, changeSettingsCallback}) => {
break;
case 'select': {
let options = [];
- data.type.forEach(v => {
+ // Build options
+ data.options.forEach(v => {
// <Select> does not like to display text if the key or value (?) is null.
// So convert null to string "- not selected -".
if (v === null) {
