-
{{ name }}
+
{{ label || configKey }}
{{ configInfo[configKey] || '(no help message available)' }}
@@ -361,7 +361,13 @@
// input field to be used by settings modal
const SettingsModalShortInput = defineComponent({
template: document.getElementById('settings-modal-short-input').innerHTML,
- props: ['name', 'configKey', 'configDefault', 'configInfo', 'modelValue'],
+ props: {
+ label: { type: String, required: false },
+ configKey: String,
+ configDefault: Object,
+ configInfo: Object,
+ modelValue: [Object, String, Number],
+ },
});
// coversations is stored in localStorage