0fcdb2a594
- Provide actions as received in the Ad-Hoc form - Add support for multi-stage ad-hoc forms - Add new tests for multi-stage forms Fixes #2240
13 lines
371 B
JavaScript
13 lines
371 B
JavaScript
import { html } from "lit";
|
|
import u from '@converse/headless/utils/core.js';
|
|
|
|
export default (o) => {
|
|
const id = u.getUniqueId();
|
|
return html`
|
|
<div class="form-group">
|
|
<label class="label-ta" for="${id}">${o.label}</label>
|
|
<textarea name="${o.name}" id="${id}" class="form-control">${o.value}</textarea>
|
|
</div>
|
|
`;
|
|
};
|