add integer field

This commit is contained in:
Dietmar Maurer 2017-02-24 08:32:30 +01:00
parent b0d9b5d15d
commit d44fdf59f9
2 changed files with 9 additions and 0 deletions

View File

@ -20,6 +20,7 @@ JSSRC= \
data/DiffStore.js \ data/DiffStore.js \
data/ObjectStore.js \ data/ObjectStore.js \
data/TimezoneStore.js \ data/TimezoneStore.js \
form/IntegerField.js \
form/TextField.js \ form/TextField.js \
form/Checkbox.js \ form/Checkbox.js \
grid/ObjectGrid.js \ grid/ObjectGrid.js \

8
form/IntegerField.js Normal file
View File

@ -0,0 +1,8 @@
Ext.define('Ext.form.field.Integer',{
extend: 'Ext.form.field.Number',
alias: 'widget.integerfield',
allowDecimals: false,
allowExponential: false,
step: 1
});