PDA

View Full Version : Report a bug: Editing issues for NumberField class and all its children



ammbra
28 Feb 2011, 1:30 AM
Hi,

I would like to report a bug that occurs only on Mozilla browser (version 3.6.13) with one of your classes: com.extjs.gxt.ui.client.widget.form.NumberField. I have the following code for a number field located inside of a form:
txtInteger = new NumberField();
txtInteger.setName("pagination");
txtInteger.setPropertyEditorType(Integer.class);
txtInteger.setAutoValidate(true);
txtInteger.setAllowBlank(false);
txtInteger.setMaxValue(100);
txtInteger.setMinValue(1);
txtInteger.setEditable(true);

In Mozilla I cannot edit that field (the only action allowed seems to be delete of the current value of the field, but you cannot write anything inside), but in IE I am allowed to do that. The same thing occurs for the com.extjs.gxt.ui.client.widget.form.SpinnerField class on Mozilla even if I have selected
setEditable(true) for that SpinnerField. SpinnerField class extends NumberField and perhaps it inherits the behavior.