Question

this.set("column" , value) method in client modules is not working

Hi

I am executing this small code but it is not reflecting on the edit page. UsrValidateTest is an integer. I am able to see the changes even in debug but not on actual page.

init: function(){

                this.callParent(arguments);

                this.set("UsrValidateTest", 40);

                this.get("UsrValidateTest");

            }

Please help me resolve this. Thanks in Advance.

Like 0

Like

1 comments

Dear Nagaraju, 

 

When init method is executed the page elements are not loaded yet. Please try using the same code in the method onEntityInitialized.

 

Best regards,

Dennis 

Show all comments