Skip to content

Commit af6537e

Browse files
committed
the web form works, closes #3
1 parent 3aeaddf commit af6537e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/seed/components/seed-choose-transform-rest.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class SeedChooseTransformREST extends TransformRESTElement {
3333

3434

3535
render(): HTMLTemplateResult {
36-
return html`<div class="transformation-chooser">${this.renderTransformationInfo()}<div class="form"><form @submit="${this.submit}" autocomplete="off" method="post">${this.renderTransformationChooser()}${this.renderError()}${this.renderSourceForm()}${this.renderSubmit()}</form></div></div><slot></slot>`;
36+
return html`<div class="transformation-chooser"><div class="form"><form @submit="${this.submit}" autocomplete="off" method="post">${this.renderTransformationChooser()}${this.renderError()}${this.renderSourceForm()}${this.renderSubmit()}</form></div></div><slot></slot>`;
3737
}
3838

3939
renderSubmit(): HTMLTemplateResult {
@@ -45,7 +45,7 @@ export class SeedChooseTransformREST extends TransformRESTElement {
4545
}
4646

4747
renderTransformationChooser(): HTMLTemplateResult {
48-
return html`<div class="inputfield transformation"><label for="transformation">Transformation ID<label><select name="transformation" id="transformation" @change="${this.transformationSelected}" required><option value="" disabled selected hidden>Please choose...</option>${this._transformations.map(t => html`<option value="${t}">${t}</option>`)}${this.renderTransformationInfo()}</select></div>`;
48+
return html`<div class="inputfield transformation"><label for="transformation">Transformation ID<label><select name="transformation" id="transformation" @change="${this.transformationSelected}" required><option value="" disabled selected hidden>Please choose...</option>${this._transformations.map(t => html`<option value="${t}">${t}</option>`)}${this.renderTransformationInfo()}</select>${this.renderTransformationInfo()}</div>`;
4949
}
5050

5151
renderError(): HTMLTemplateResult {

0 commit comments

Comments
 (0)