-
Sencha User
7.1 modern: Syntax error in ComboBox.primaryFilter's example
Hi
This is an example's syntax error report.
https://docs.sencha.com/extjs/7.1.0/...-primaryFilter
return Ext.String.startsWith(candidateRecord.get('stateName', value, true) ||
Ext.String.startsWith(candidateRecord.get('abbreviation', value, true);
↓
return Ext.String.startsWith(candidateRecord.get('stateName', value, true)) ||
Ext.String.startsWith(candidateRecord.get('abbreviation', value, true));
-
Sencha User
Sorry, correct was the following.
return Ext.String.startsWith(candidateRecord.get('stateName'), value, true) ||
Ext.String.startsWith(candidateRecord.get('abbreviation'), value, true);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules