Hello folks, we have design where we need to add the control on the form dynamically based on the setup. In that I have added the FormControlComboBox after the super() of Init().
also I'm populating the combo box with the values using the FormControlComboBox.item() and .text(). When I execute and see the output of the form I do not see the lookUp working
The lookup icon is shown but neither the values populated nor the lookup itself working.
Alternate solution implemented. - Not working though.
I have replaced the ComboBox with FormStringControl and used the registerOverRide() method of LookUp() on the form init(). In this case the debugger doesn't hit the registered method if I were to debug the case why the lookup is not working.
Question:-
Could anyone help me understand why the lookup is not working?
Does the registerOverridemethod will work for dynamically added controls on the form?
Is there any better way to approach this design?
Below the form and the control added on the form
Below the code used:-