Skip to content

Commit

Permalink
Added links as datalist
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Lepe committed Nov 30, 2019
1 parent 70f5152 commit 69e2197
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,15 @@

</script>

<script id="vvveb-input-linkinput" type="text/html">

<div>
<input name="{%=key%}" type="url" class="form-control" list="linklist"/>
<!-- datalist id="linklist"><option value='Create list'></datalist -->
</div>

</script>

<script id="vvveb-input-emailinput" type="text/html">

<div>
Expand Down
2 changes: 1 addition & 1 deletion libs/builder/inputs.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ var LinkInput = $.extend({}, TextInput, {
],

init: function(data) {
return this.render("textinput", data);
return this.render("linkinput", data);
},
}
);
Expand Down

0 comments on commit 69e2197

Please sign in to comment.