In perspective I am attempting to run a script to refresh a property query binding on an onMouseEnter event. There is limited documentation on this method, but I believe I am using it correctly.
Error
Error running action ‘dom.onMouseEnter’ on Docks/Menu@D/root/Features: Traceback (most recent call last): File " ", line 2, in runAction java.lang.IllegalArgumentException: No binding on property “props.items.1.target”. at com.inductiveautomation.perspective.gateway.model.ComponentModel.refreshBinding(ComponentModel.java:354) at com.inductiveautomation.perspective.gateway.script.ComponentModelScriptWrapper$SafetyWrapper.lambda$refreshBinding$0(ComponentModelScriptWrapper.java:94) at com.inductiveautomation.ignition.common.util.ExecutionQueue$FragileRunnableFuture.getValue(ExecutionQueue.java:257) at com.inductiveautomation.ignition.common.util.ExecutionQueue$FragileRunnableFuture.getValue(ExecutionQueue.java:246) at com.inductiveautomation.ignition.common.util.ExecutionQueue$FragileCompletableFuture.run(ExecutionQueue.java:237) at com.inductiveautomation.ignition.common.util.ExecutionQueue$PollAndExecute.run(ExecutionQueue.java:210) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: No binding on property “props.items.1.target”.
Script:
Properties
Query Binding