PL-8734 Incorrect caption display of SuggestionPickerField

This commit is contained in:
Daniil Tsarev 2017-03-16 13:12:52 +04:00
parent 027aa40188
commit 88ccc90f85

View File

@ -69,6 +69,16 @@ public class WebSuggestionPickerField extends WebSuggestionField implements Sugg
return pickerField.getCaption();
}
@Override
public void setDescription(String description) {
pickerField.setDescription(description);
}
@Override
public String getDescription() {
return pickerField.getDescription();
}
protected void initValueSync(final WebPickerField.Picker picker) {
component.addValueChangeListener(e -> {
if (updateComponentValue)