From 905a78e25350d1235e199b5947e43a79d3d2fcf1 Mon Sep 17 00:00:00 2001 From: Elena.Budnik Date: Thu, 19 Apr 2018 12:50:04 +0200 Subject: [PATCH] numberfield for sampling --- js/app/views/UploadPanelUI.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/js/app/views/UploadPanelUI.js b/js/app/views/UploadPanelUI.js index 1dac257..d5ed007 100644 --- a/js/app/views/UploadPanelUI.js +++ b/js/app/views/UploadPanelUI.js @@ -291,17 +291,19 @@ Ext.define('amdaUI.UploadPanelUI', { }); this.manualSampling = Ext.create('Ext.form.FieldContainer', { - defaultType: 'textfield', + defaultType: 'numberfield', layout: 'anchor', defaults: { layout: '100%', - labelWidth : 150 + labelWidth : 150, + minValue : 0.001, + hideTrigger: true }, hidden : true, items: [ { fieldLabel : 'min sampling', - name : 'min_manual_sampling' + name : 'min_manual_sampling' }, { fieldLabel : 'max sampling', -- libgit2 0.21.2