Hi,

> I'm still puzzled by the DropDownList fix.  To me it looks like the only
> effective change is:
> 
>  if (displayItem != null)
> 
> 
> Was replaced by:
> 
>  if (displayItem != null && displayItem != undefined)
> 
> 
> Or is there some subtle other difference I'm missing?

In the code before my change if display Item was undefined it would be set to 
selectedItem. In the code after my change it set to selectedItem and 
LabelUtil.itemToLabel is called. If LabelUtil.itemToLabel is not called the 
display doesn’t update. The displayItem != undefined check is probably not 
needed but it was in the original code, my change just put it back the way it 
was before it was “optimised”.

Thanks,
Justin

Reply via email to