import { localizer } from "../../utils/Localizer.mjs";
import { options } from "../options.mjs";
export function dropdownInput(input, data) {
const label = localizer(input.label);
const id = `${data.meta.idp}-${input.id}`;
if (!data.meta.editable) {
return `
${label}
${data.meta.limited && input.limited ? `???` : input.value}
`;
};
if (!input.options.length) {
throw new Error(`dropdown type inputs must have some options`);
};
return `
`;
};