Thank you for reporting this bug. We will make it our priority to review this report.
Ext.util.Filter Do not use regular expressions
Ext.util.Filter Do not use regular expressions
Ext version tested: Browser versions tested against: DOCTYPE tested against: Description:
- I can not use regular expressions in Ext.Util.Filter.
It was available in ExtJS3.
Steps to reproduce the problem:- var allNames = new Ext.util.MixedCollection();allNames.addAll([
{id: 1, name: 'Ed', age: 25},
{id: 2, name: 'Jamie', age: 37},
{id: 3, name: 'Abe', age: 32},
{id: 4, name: 'Aaron', age: 26},
{id: 5, name: 'David', age: 32}
]);var nameRegExpFilter = new Ext.util.Filter({
property: 'name',
value : '.*'
});//a new MixedCollection with the 0 people:
var resultCollection = allNames.filter(nameRegExpFilter); - Regular expression to be escaped.
The result that was expected:- I want to extract all of the data.
The result that occurs instead:
- I can not use regular expressions in Ext.Util.Filter.
Ext.util.Filter Do not use regular expressions
Aucun commentaire:
Enregistrer un commentaire