Open ohansFavour opened 1 year ago
Binding a function to a trigger field, without calling it, throws an error
export default { myVar1: [], myVar2: {}, myFun1 () { showAlert("myFun1 Called") }, debounce : (fn,delay=300)=>{ let timer; return function some(){ if(timer){ clearTimeout(timer) } timer = setTimeout(()=>{ fn(); },delay) } }, }
{{JSObject2.debounce(JSObject2.myFun1(), 300)}}
No response
Production
Cloud
Front conversations
In Appsmith v1.9.15, no error was getting thrown. Error toast appears from v1.9.16 upwards
Connected to - https://github.com/appsmithorg/appsmith/issues/22332
Is there an existing issue for this?
Description
Binding a function to a trigger field, without calling it, throws an error
Steps To Reproduce
{{JSObject2.debounce(JSObject2.myFun1(), 300)}}
Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Cloud
Front conversations