Pman.Dialog.XtupleItem.bjs
authorEdward <edward@roojs.com>
Fri, 10 Oct 2014 08:08:27 +0000 (16:08 +0800)
committerEdward <edward@roojs.com>
Fri, 10 Oct 2014 08:08:27 +0000 (16:08 +0800)
Pman.Dialog.XtupleItem.js

Pman.Dialog.XtupleItem.bjs
Pman.Dialog.XtupleItem.js

index d2f669a..fc00eea 100644 (file)
                                                     "Boolean allowDecimals" : false,
                                                     "Number decimalPrecision" : 0,
                                                     "$ xns" : "Roo.form",
-                                                    "* prop" : "field"
+                                                    "* prop" : "field",
+                                                    "Number minValue" : 0
                                                 }
                                             ]
                                         }
index 21d334f..bf925e3 100644 (file)
@@ -1187,7 +1187,8 @@ Pman.Dialog.XtupleItem = {
                                                xtype : 'NumberField',
                                                allowDecimals : false,
                                                decimalPrecision : 0,
-                                               xns : Roo.form
+                                               xns : Roo.form,
+                                               minValue : 0
                                            },
                                            '|xns' : 'Roo.grid',
                                            xtype : 'GridEditor',