Skip to content

Commit

Permalink
explicitly type as dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Apr 26, 2024
1 parent 8ca653a commit 8af1329
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion haxe/ui/core/ItemRenderer.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8af1329

Please sign in to comment.