You are viewing limited content. For full access, please sign in.

Question

Question

LFForm Object - Source map error trying to use onFieldChange method

asked one day ago

I am trying to test running code when a field value is changed

Here is my code that I learned from the documentation

LFForm.onFieldChange(() => console.log("change"), {variableName: "Response_Content"});

Here is my field

I get this error in the console instead of the word change when I make a change to the field

Back to JQuery for now....

0 0

Replies

replied one day ago

Does it not log the change event even with the source map error? It doesn't look like a blocking error.

Before I send this to the team, is this self-hosted?

1 0
replied one day ago

Oh your right, it does log the change prompt but it follows up with this huge error so I didn't see the change text above it. I just didn't expect to get an error when trying to run a function on change.

This is in Cloud

0 0
replied 23 hours ago

My team can't reproduce this. Can you try incognito without browser extensions

0 0
replied 22 hours ago

Same thing in incognito but when I switched from Firefox to Chrome the error went away

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.