mui.gotoForm(), initial_cursor_position - how to work with this? #2343
Replies: 3 comments 2 replies
-
I think i find root of my confusion - gotoForm works well with the initial_cursor_position if i do this in a loop section like this:
but it does not work well if i use it like a code in a function on MUIF_RO with MUI_AUX element. In both cases i link additional form which either has mui_u8g2_btn_exit_wm_fi button (first case --works) either MUIF_RO with MUI_AUX (not working). |
Beta Was this translation helpful? Give feedback.
-
below is the full code for the not working case (if go back - it jumps either on first element either on second = weird logic):
|
Beta Was this translation helpful? Give feedback.
-
and here is the full code for working case (just a little difference comparing to the example above)
|
Beta Was this translation helpful? Give feedback.
-
Happy new year!
So, this method has two params - the formId and the initial_cursor_position.
FormId is clear and it works as expected, but how to work with the second param?
I tried giving different "straight" values to it (1,2,3, etc.) - but no effect.
Can you please suggest how to work with this?
Important Update: I am trying to jump to the form which only has one element: Scrollable Jump Table (dynamic).
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions