@nebularstreams/libmui 2.5.32 → 2.5.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nebularstreams/libmui",
3
3
  "description": "Micro UI based on Mithril",
4
- "version": "2.5.32",
4
+ "version": "2.5.34",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
7
7
  "scripts": {
@@ -20,7 +20,7 @@ function storyOverflow(attrs) {
20
20
  icon
21
21
  } = attrs,
22
22
  source = typeof maybeFunctionItems === "function" ? maybeFunctionItems() : maybeFunctionItems,
23
- items = itemsKey ? typeof itemsKey === "function" ? itemsKey() : source[itemsKey] : source;
23
+ items = itemsKey ? typeof itemsKey === "function" ? itemsKey() : source[itemsKey] || [] : source;
24
24
 
25
25
  return promptOptions(items, onchange, {title, field, icon, textNew, textHint, resolve});
26
26
  }
@@ -883,6 +883,7 @@ const
883
883
  icon: metaDef.icon || attrs.icon,
884
884
  hint: metaDef.title,
885
885
  label: metaDef.label,
886
+ title: metaDef.question,
886
887
  itemsKey: typeof metaDef.optionsKey === "function" ? () => {
887
888
  return metaDef.optionsKey(targetParameters);
888
889
  } : metaDef.optionsKey,