Commit 9ef1dd74 by Иван Кубота

filter more special chars

parent de53a792
Pipeline #508 canceled with stage
......@@ -21,7 +21,7 @@ view.cmp.Table.prototype = {
afterFilter: ()=>true,
filter: function(text) {
this.filterText = text;
this.filterRegExp = new RegExp(text.replace(/[\?\*\.\+]/g,''), 'ig')
this.filterRegExp = new RegExp(text.replace(/[\[\]\(\)\?\*\.\+]/g,''), 'ig')
},
fetch: function() {
const field = Object.keys(this.sort[0])[0]
......
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