Hello,
I have an existing post for a setFocus issue but not related to this particular post.
I've not worked with the frontend all that much. We have a custom form which contains a particular Real control. In a method on the form a calculated value is set to this control, then I call setFocus() to bring the focus to this control. All this working fine to this point. Where it falls apart is, with this control having the focus, I type in a different value and hit enter which should call modified() and recalculate the updated value. Instead the focus jumps to a different control. If I tab back to this field and change the value now, then the code kicks in and updates the value.
Adding a breakpoint to the modified() for this control shows that it isn't called after the initial value change.
Is there an additional parameter I need to set for this control prior to putting focus on it?
Thank you.
*This post is locked for comments
I have the same question (0)