Updated. Managing addTagElement to Vocabulary

This commit is contained in:
Francesco Mangiacrapa 2024-02-08 12:32:20 +01:00
parent 67591125e6
commit cb9629d85a
1 changed files with 6 additions and 0 deletions

View File

@ -176,6 +176,12 @@ public class TagsPanel extends Composite{
if(tagsList.contains(tag))
return;
//selecting the item of the vocabulary
if(vocabulary!= null && vocabulary.size()>0) {
tagsEnterListBox.setSelectedValue(tag);
return;
}
// ckan accepts only alphanumeric values
String[] subTags = tag.trim().split(" ");