This project is read-only.
1

Resolved

Bug: ComboBox override Text property.

description

Please aply this patch to fix a comobox issue in Text override funtion.
 
public override string Text
{
  get
  {
    return base.Text;
  }
  set
  {
    base.Text = value;
     //if (!items.Contains(value))  --- bug
     if (!items.ConvertAll(item => item.ToString()).Contains(value))
    {
      ItemIndex = -1;
    }
  }
}
 
base object contains method doesn't work.
 
 
 
Cheers

file attachments

comments

grimston wrote Apr 6, 2013 at 7:15 AM

Fixed as of changeset 31568

wrote May 16, 2013 at 11:22 AM

wrote May 16, 2013 at 11:22 AM

wrote Jun 14, 2013 at 8:19 AM