Replies: 4 comments 1 reply
-
Hey @pchanley are you able to provide some more information or (even better) an app export? I don't think there's enough to go on here to be able to recreate the issue. |
Beta Was this translation helpful? Give feedback.
-
this is a simpler example. I am trying to update a State defined array - progressCurrentChange js: console messages: It seems to stop processing at the push command? |
Beta Was this translation helpful? Give feedback.
-
this is a simpler example. I am trying to update a State defined array - progressCurrentChange js: console messages: It seems to stop processing at the push command? |
Beta Was this translation helpful? Give feedback.
-
finally got an error message: TypeError: currentList.push is not a function. the State.progressChanges is an array as shown in the console.log? |
Beta Was this translation helpful? Give feedback.
-
I am trying to add to an array of changed entries. I have created an entry. and then use the following to update the state array to hold all change entries. It seems to stop processing at the push entry. not sure why
Here is update state script:
var currentChange = $("State.progressCurrentChange");
var currentList = $("State.progressChanges");
if(currentChange["courseName"] !== undefined){
currentList.push(currentChange);
}
console.log(currentList)
return currentList;
yhsnkd
Beta Was this translation helpful? Give feedback.
All reactions