Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning in Console: [Ext.define] Duplicate class name 'Ext.grid.filters.filter.Number' specified, must be a non-empty string #775

Open
cancan101 opened this issue Dec 2, 2024 · 0 comments

Comments

@cancan101
Copy link
Contributor

I am seeing this warning in my console:

[Ext.define] Duplicate class name 'Ext.grid.filters.filter.Number' specified, must be a non-empty string

which I assume comes from this being called multiple times:

Ext.define('Ext.grid.filters.filter.Number', {
extend: 'Ext.local.grid.filters.filter.TriFilter',
alias: ['grid.filter.number', 'grid.filter.numeric'],
uses: ['Ext.form.field.Number'],
type: 'number',
config: {
fields: {
gt: {
iconCls: Ext.baseCSSPrefix + 'grid-filters-gt',
margin: '0 0 3px 0'
},
lt: {
iconCls: Ext.baseCSSPrefix + 'grid-filters-lt',
margin: '0 0 3px 0'
},
eq: {
iconCls: Ext.baseCSSPrefix + 'grid-filters-eq',
margin: '0 0 3px 0'
},
in: {
iconCls: Ext.baseCSSPrefix + 'grid-filters-find',
margin: 0
}
}
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant