Skip to content

Commit fc99bde

Browse files
committed
fix: input_update(datalist) don't work when datalist is not provided in input()
1 parent 1bffef1 commit fc99bde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webiojs/src/models/input/input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const common_input_tpl = `
1111
<div class="form-group">
1212
{{#label}}<label for="{{id_name}}">{{label}}</label>{{/label}}
1313
{{#action}}<div class="input-group">{{/action}}
14-
<input type="{{type}}" id="{{id_name}}" aria-describedby="{{id_name}}_action_btn" {{#datalist}}list="{{id_name}}-list"{{/datalist}} class="form-control" >
14+
<input type="{{type}}" id="{{id_name}}" aria-describedby="{{id_name}}_action_btn" list="{{id_name}}-list" class="form-control" >
1515
<datalist id="{{id_name}}-list">
1616
${datalist_tpl}
1717
</datalist>

0 commit comments

Comments
 (0)