-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI.Next Doc.SelectDyn not selecting item #132
Comments
hi! I'm still facing this issue on version 4.1.0.162. Below, a smaller function to help you debug it.
Thanks, |
I've found a workaround that seens to solve the problem. By embeding the selectbox element in the list view, the correct element is selected.
Regards, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
I'm facing an (intermittent) issue with Doc.SelectDyn not selecting the correct item from its list.
The data (both the list of item and the selected item) are loaded from database through a RPC function. This is how I'm doing:
note: combobox is assigned to a Template field later on
note: model contains all form data, including the list of items and the selected value.
This will work sometimes, but whenever opening the page again, it won't select the correct item anymore.
After some debugging, I believe the issue is due the sequence of Vars being executed in incorrect order (probably due to some DOM lagging). Changing the bindModel function and adding some delay, makes it work:
Is there a way to tie the assignment of rvOption to rvOptionList? or maybe a better workaround?
UI.Next version: 3.6.18.2
Thanks,
Alex
The text was updated successfully, but these errors were encountered: