-
Hi I have the My template:
And then I have this function:
The What am I doing wrong? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
I am a complete fool! I have two classes in the one file and I had accidentally put the updated_ function in the wrong class. So embarrassing. Thank you so much for your help Adam! |
Beta Was this translation helpful? Give feedback.
And you have a
new_event_horse
field in your component? I was testing in my example with your HTML above and this basic component code:and I'm seeing those print statements in my terminal:
What I didn't realize is that the method actually gets called twice (once for the original value and then a second time for the new value, which seems a little weird to me). But, let me know if I can help troubleshoot in another way.