Commit 405297c6 authored by Mikaël Salson's avatar Mikaël Salson

form_builder.js: Deactivate browser autocompletion on added fields

Follows 7c2a0a36
parent ebf2cce5
Pipeline #21214 failed with stages
in 6 minutes and 7 seconds
......@@ -130,6 +130,7 @@ FormBuilder.prototype.build_info = function(object, keys, label) {
var txt = this.build_input('info', "text", 'info', 'text', object, label + ' information (#tags can be used)');
$(txt).data('needs-atwho', true);
$(txt).attr('autocomplete', 'off');
$(txt).on('focus', function() {
$(this).data('keys', keys);
new VidjilAutoComplete().setupTags(this);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment