Hello everyone,

I want to apply a plugin to all fields(numberfield, textfield, datefield, etc.) in the library ExtJS 4.1. Is there anyone who knows how can I do this?
As I know, all fields are extended from BaseField. So I tried this; but it didn't work at all. I'll be happy if someone can guide me.Thanks in advance.
Code:
Ext.form.BaseField.override({
	init	: function() {
		this.plugins = [ 'clearbutton' ];
	}
});