I am using SuggestBox to let user to select values. But however when there is only one value in the list, I am setting the value in the SuggestBox and I want this field to be non-editable.
I am trying below things, but now the component is not visible on UI.
sgstBox.getTextBox().setEnabled(false);
this is not working either
sgstBox.getTextBox().setReadOnly(true);