diff --git a/haxe/ui/core/ItemRenderer.hx b/haxe/ui/core/ItemRenderer.hx index efec4c87b..97c00284c 100644 --- a/haxe/ui/core/ItemRenderer.hx +++ b/haxe/ui/core/ItemRenderer.hx @@ -159,7 +159,8 @@ class ItemRenderer extends Box { } var v = event.target.value; if (_data != null && event.target.id != null) { - var item = Reflect.getProperty(_data, event.target.id); + trace(event.target.id, _data); + var item:Dynamic = Reflect.getProperty(_data, event.target.id); switch (Type.typeof(item)) { case TObject: item.value = v;