gerrybw
Forum Replies Created
-
Hi Kim,
I have sent an email to the support email address with videos showing the app under 5.5.68 and 5.5.69. Also the tables, app and functions needed to reproduce outside of the rest of our application.
Best wishes. GerryI have downgraded to 5.5.68 and confirmed that my lookup now functions correctly, so this change definitely occurred in 5.5.69.
Thank you. I’ll hold off doing a ‘dirty solution’ myself for now then and hopefully this make a future release. If it does come up from consideration, I am happy to help test once ready. This would be really useful for a few of our apps.
Hi Peter
I have just sent in the suppor ticket and emailed you a simplified reproducer with a table and app.
Thank you. GerryHi Kim. Thank you for the reply. I realise that onChange isn’t supported for lookup columns which was why I changed to the approach of using an enum. The column metadata is
Column name
ResultData type
enum(‘Double’,’Credit’,’Pass’,’Probation’,’Fail’,’No Show’)Is nullable
YESDefault value
Pass
Should the onChange hook work on an enum column? It is being called correctly, the only issue is that the event object is undefined which means I can not access the current value of the column, though I can successfully access the old value through getColumnValue().
Thank you for your help.I tried with a basic onChange hook on a column of type varchar and the event object was passed successfully, so this issue appears to be specific to enum (haven’t check with set). However I need to the column to be a dropdown list so the user can select from a small defined list of option. In an ideal world I would have used a lookup but onChange hook is not supported for lookup columns.
Thanks, Kim, for your great suggestion. Fixed the issue nicely!
Hi Peter. Thank you for the update. As you suggest I have sent some more details of what I am trying to do via the contact form. However I could not see how to include my attachments. Happy to email these across. Gerry