Commit 905a78e25350d1235e199b5947e43a79d3d2fcf1

Authored by Elena.Budnik
1 parent b530f31f

numberfield for sampling

Showing 1 changed file with 5 additions and 3 deletions   Show diff stats
js/app/views/UploadPanelUI.js
... ... @@ -291,17 +291,19 @@ Ext.define('amdaUI.UploadPanelUI', {
291 291 });
292 292  
293 293 this.manualSampling = Ext.create('Ext.form.FieldContainer', {
294   - defaultType: 'textfield',
  294 + defaultType: 'numberfield',
295 295 layout: 'anchor',
296 296 defaults: {
297 297 layout: '100%',
298   - labelWidth : 150
  298 + labelWidth : 150,
  299 + minValue : 0.001,
  300 + hideTrigger: true
299 301 },
300 302 hidden : true,
301 303 items: [
302 304 {
303 305 fieldLabel : 'min sampling',
304   - name : 'min_manual_sampling'
  306 + name : 'min_manual_sampling'
305 307 },
306 308 {
307 309 fieldLabel : 'max sampling',
... ...