diff --git a/web_interface/static/v3/plugins_manager.js b/web_interface/static/v3/plugins_manager.js index 45cbdcb4..50eb5675 100644 --- a/web_interface/static/v3/plugins_manager.js +++ b/web_interface/static/v3/plugins_manager.js @@ -3164,8 +3164,7 @@ function generateFieldHtml(key, prop, value, prefix = '') { data-file-type="${fileType}"> `; - } - } else if (xWidgetValue === 'checkbox-group' || xWidgetValue2 === 'checkbox-group') { + } else if (xWidgetValue === 'checkbox-group' || xWidgetValue2 === 'checkbox-group') { // Checkbox group widget for multi-select arrays with enum items // Use _data hidden input pattern to serialize selected values correctly console.log(`[DEBUG] ✅ Detected checkbox-group widget for ${fullKey} - rendering checkboxes`); @@ -3201,7 +3200,7 @@ function generateFieldHtml(key, prop, value, prefix = '') { // Sentinel hidden input with bracket notation to allow clearing array to [] when all unchecked // This ensures the field is always submitted, even when all checkboxes are unchecked html += ``; - } else if (xWidgetValue === 'custom-feeds' || xWidgetValue2 === 'custom-feeds') { + } else if (xWidgetValue === 'custom-feeds' || xWidgetValue2 === 'custom-feeds') { // Custom feeds widget - check schema validation first const itemsSchema = prop.items || {}; const itemProperties = itemsSchema.properties || {}; @@ -3238,7 +3237,7 @@ function generateFieldHtml(key, prop, value, prefix = '') {
Enter values separated by commas (custom feeds table rendered server-side)
`; } - } else { + } else { // Regular array input (comma-separated) console.log(`[DEBUG] ❌ No special widget detected for ${fullKey}, using regular array input`); // Handle null/undefined values - use default if available @@ -3254,6 +3253,7 @@ function generateFieldHtml(key, prop, value, prefix = '') {Enter values separated by commas
`; + } } } else if (prop.enum) { html += `