/** * Form Renderer Utility Module * Responsible for generating HTML forms based on schema definitions. */ import { getNestedValue } from './utils.js'; import { CLOSE_ICON_SVG } from './icons.js'; import { generateCategoryDropdownHTML } from './categories.js'; /** * Generates the HTML for a given section. * @param {object} config - The configuration object for the section. * @param {object} data - The current data for the section. * @returns {string} The HTML string for the section. */ export function generateSectionHTML(config, data) { let html = `
${config.description || ''}