Hi,
I have a custom widget which I use to provide auto suggest text fields. I've had this widget for years but at some point over last year years the right border has disapeared. So My code looks like this, pretty simple...
I think I posted on this forum at the time and got guidance that the way to provide a auto suggest widget is to basically have a combobox with the picket icon. The trouble is, without the picker icon, the widget has no right border...
I don't believe this has always been the case, I think this used to work once, but it's not a newly introduced issue. Is there a problem with my code, is there a different/better way to d this now or is it an issue?
I have a custom widget which I use to provide auto suggest text fields. I've had this widget for years but at some point over last year years the right border has disapeared. So My code looks like this, pretty simple...
Code:
/** * Form item to provide an auto suggest text box * * @author dale.ellis * @since 30/06/11 */ public class AutoSuggestItem extends ComboBoxItem { public AutoSuggestItem() { setup(); } public AutoSuggestItem(String name, String title) { super(name, title); setup(); } private void setup() { setType("comboBox"); setShowPickerIcon(false); setCompleteOnTab(true); setHideEmptyPickList(true); setOptionCriteria(new Criteria()); setDisplayField(AutoSuggestValueDto.VALUE); setValueField(AutoSuggestValueDto.VALUE); } public void addCriteria(String name, Object value) { getOptionCriteria().addCriteria(name, value); } }
I don't believe this has always been the case, I think this used to work once, but it's not a newly introduced issue. Is there a problem with my code, is there a different/better way to d this now or is it an issue?
Comment