[CLOSED] possible reason for this behavior?
I have a form with a Add button and Textbox1.
There are 2 things i am trying to do on this form
1. When I click add button, through direct method Textbox1 is cleared.
Code:
Textbox1.setValue('');
2. I have another method to populate Textbox1.
so the code is:
Populate -directmethod
Code:
btnAdd.setDisabled(true)
what it is happening is,
when btnAdd.setDisabled(true), Textbox1.setValue('') also gets fired which i don't understand. I didn't posted any sample code, because it works normal on my local machine, it doesn't work on production server.
Please advice you can see the potential cause of this issue. Thank you.