haxeui / haxeui-heaps

MIT License
31 stars 12 forks source link

property-grid doesn't work in Heaps #33

Closed hoseyjoe closed 2 years ago

hoseyjoe commented 2 years ago

running compiled project gives this error in Heaps only. pretty sure this is all git versions. HeapsTest.zip

Invalid field access
Called from haxe.ui.components.ListDropDownHandler.set_selectedItem (haxe/ui/components/DropDown.hx line 337)        
Called from haxe.ui.components._DropDown.SelectedItemBehaviour.validateData (haxe/ui/components/DropDown.hx line 121)
Called from haxe.ui.behaviours.DataBehaviour.validate (haxe/ui/behaviours/DataBehaviour.hx line 21)
Called from haxe.ui.behaviours.Behaviours.validateData (haxe/ui/behaviours/Behaviours.hx line 89)
Called from haxe.ui.core.ComponentValidation.validateComponentData (haxe/ui/core/ComponentValidation.hx line 297)    
Called from haxe.ui.core.ComponentValidation.validateComponentInternal (haxe/ui/core/ComponentValidation.hx line 256)
Called from haxe.ui.core.ComponentValidation.validateComponent (haxe/ui/core/ComponentValidation.hx line 177)        
Called from haxe.ui.validation.ValidationManager.process (haxe/ui/validation/ValidationManager.hx line 140)
Called from haxe.ui.util.$Timer.~delay.1 (haxe/ui/util/Timer.hx line 10)
Called from haxe.ui.backend.$TimerImpl.update (haxe/ui/backend/TimerImpl.hx line 13)
Called from haxe.ui.backend.$BackendImpl.update (haxe/ui/backend/BackendImpl.hx line 7)
Called from haxe.ui.backend.AppImpl.onHeapsUpdate (haxe/ui/backend/AppImpl.hx line 47)
Called from haxe.ui.backend._AppImpl.HeapsApp.update (haxe/ui/backend/AppImpl.hx line 18)
Called from hxd.App.mainLoop (hxd/App.hx line 193)
Called from hxd.App.~setup.2 (hxd/App.hx line 150)
Called from hxd.App.loadAssets (hxd/App.hx line 176)
Called from hxd.App.setup (hxd/App.hx line 146)
Called from h3d.Engine.onCreate (h3d/Engine.hx line 256)
Called from h3d.impl.GlDriver.~init.0 (h3d/impl/GlDriver.hx line 1616)
Called from haxe.$Timer.~delay.0 (C:\SDKs\Haxe\haxe\std/haxe/Timer.hx line 144)
Called from haxe.$Timer.~__constructor__.0 (C:\SDKs\Haxe\haxe\std/haxe/Timer.hx line 76)
Called from sys.thread.EventLoop.progress (C:\SDKs\Haxe\haxe\std/sys/thread/EventLoop.hx line 114)
Called from hxd.$System.runMainLoop (hxd/System.hl.hx line 152)
Called from hxd.$System.runMainLoop (hxd/System.hl.hx line 142)
Called from haxe.$Timer.~delay.0 (C:\SDKs\Haxe\haxe\std/haxe/Timer.hx line 144)
Called from haxe.$Timer.~__constructor__.0 (C:\SDKs\Haxe\haxe\std/haxe/Timer.hx line 76)
Called from sys.thread.EventLoop.loop (C:\SDKs\Haxe\haxe\std/sys/thread/EventLoop.hx line 150)
Called from sys.thread._Thread.$Thread_Impl_.processEvents (C:\SDKs\Haxe\haxe\std/hl/_std/sys/thread/Thread.hx line 62)
ianharrigan commented 2 years ago

This should be fixed now, can you retest and close if thats the case for you?

Cheers, Ian