Skip to content

Commit

Permalink
Support space (and more) in tag groups (#13589)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjac authored and nikolajlauridsen committed Dec 16, 2022
1 parent 4d760a5 commit ab82549
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -92,7 +92,7 @@
var sources = {
//see: https://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md#options
// name = the data set name, we'll make this the tag group name + culture
name: vm.config.group + (vm.culture ? vm.culture : ""),
name: (vm.config.group + (vm.culture ? vm.culture : "")).replace(/\W/g, '-'),
display: "text",
//source: tagsHound
source: function (query, syncCallback, asyncCallback) {
Expand Down

0 comments on commit ab82549

Please sign in to comment.