Skip to content

Commit e37b63b

Browse files
Daniel SheffieldDaniel Sheffield
authored andcommitted
just set on each component
1 parent 9b8d2f1 commit e37b63b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqlpage/templates/form.handlebars

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
{{#if id}}id="{{id}}"{{/if}}
33
class="my-3 {{class}}"
44
method="{{default method "post"}}"
5-
{{#if formenctype}}formenctype="{{formenctype}}"{{/if}}
65
{{#if action}}action="{{action}}"
76
{{else}}
87
{{#if id}}action="#{{id}}"{{/if}}
@@ -54,6 +53,7 @@
5453
{{~#if minlength}}minlength="{{minlength}}" {{/if~}}
5554
{{~#if maxlength}}maxlength="{{maxlength}}" {{/if~}}
5655
{{~#if required}}required="required" {{/if~}}
56+
{{~#if formenctype}}formenctype="{{formenctype}}" {{/if~}}
5757
{{~#if autofocus}}autofocus {{/if~}}
5858
>
5959
{{~#if value}}{{value}}{{/if~}}
@@ -62,6 +62,7 @@
6262
<select name="{{name}}" class="form-select"
6363
{{~#if id}} id="{{id}}" {{/if~}}
6464
{{~#if required}} required="required" {{/if~}}
65+
{{~#if formenctype}}formenctype="{{formenctype}}" {{/if~}}
6566
{{~#if autofocus}} autofocus {{/if~}}
6667
{{~#if multiple}} multiple {{/if~}}
6768
{{~#if (or dropdown searchable)}}
@@ -132,7 +133,6 @@
132133
{{#if validate_outline}} btn-outline-{{validate_outline}} {{/if}}
133134
{{#if validate_size}} btn-{{validate_size}} {{/if}}"
134135
{{flush_delayed}}
135-
{{#if formenctype}}formenctype="{{formenctype}}"{{/if}}
136136
type="submit"
137137
{{#if validate}}value="{{validate}}"{{/if}}>
138138
{{/if}}

0 commit comments

Comments
 (0)