function textarea456464(config = {}) {
const {
value = "",
title,
description,
autocomplete,
cols = 45,
rows = 3,
width,
height,
maxlength,
placeholder,
spellcheck,
wrap,
submit,
disabled,
getValue
} = typeof config === "string" ? { value: config } : config;
const form = input({
form: html`<form><textarea style="display: block; font-size: 0.8em;" name=input>${value}</textarea></form>`,
title,
description,
submit,
getValue,
attributes: {
autocomplete,
cols,
rows,
maxlength,
placeholder,
spellcheck,
wrap,
disabled
}
});
form.output.remove();
if (width != null) form.input.style.width = width;
if (height != null) form.input.style.height = height;
if (submit) form.submit.style.margin = "0";
if (title || description) form.input.style.margin = "3px 0";
return form;
}