diff --git a/src/main/java/org/gcube/portlets/user/td/sdmximportwidget/client/SDMXTableDetailCard.java b/src/main/java/org/gcube/portlets/user/td/sdmximportwidget/client/SDMXTableDetailCard.java index 7a4ccd9..3107f03 100644 --- a/src/main/java/org/gcube/portlets/user/td/sdmximportwidget/client/SDMXTableDetailCard.java +++ b/src/main/java/org/gcube/portlets/user/td/sdmximportwidget/client/SDMXTableDetailCard.java @@ -25,6 +25,7 @@ import com.google.gwt.i18n.client.DateTimeFormat; import com.google.gwt.user.client.Command; import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.gwt.user.client.ui.VerticalPanel; +import com.sencha.gxt.cell.core.client.form.ComboBoxCell.TriggerAction; import com.sencha.gxt.data.client.loader.RpcProxy; import com.sencha.gxt.data.shared.ListStore; import com.sencha.gxt.data.shared.loader.ListLoadConfig; @@ -184,6 +185,9 @@ public class SDMXTableDetailCard extends WizardCard { }); } }; + comboLicences.setEditable(false); + comboLicences.setTypeAhead(false); + comboLicences.setTriggerAction(TriggerAction.ALL); Log.trace("Combo Licence created"); // / @@ -343,7 +347,8 @@ public class SDMXTableDetailCard extends WizardCard { } } - if(comboLicences.getCurrentValue()!=null&& comboLicences.getCurrentValue().getLicence()!=null){ + if(comboLicences.getCurrentValue()!=null&& + comboLicences.getCurrentValue().getLicence()!=null && !comboLicences.getCurrentValue().getLicence().isEmpty()){ detail.setLicence(comboLicences.getCurrentValue().getLicence()); }