How to pass input parameter to webblock inside Modal popup

I am using modal to show a confirmation popup. I need to pass a value to the webblock inside the modal popup to show that value in the modal popup. 
I tried to pass it as input parameter to the webblock. But it is not working. 

Is it because modal is getting initialized when the screen loads?

Thanks,

Sundeep.


Solution

Sundeep S wrote:

I am using modal to show a confirmation popup. I need to pass a value to the webblock inside the modal popup to show that value in the modal popup. 
I tried to pass it as input parameter to the webblock. But it is not working. 

Is it because modal is getting initialized when the screen loads?

Thanks,

Sundeep.


 Hi Sun,

Try to refresh web block before open modal.

Hope it helps!

 

Solution

Hung Nguyen wrote:

Sundeep S wrote:

I am using modal to show a confirmation popup. I need to pass a value to the webblock inside the modal popup to show that value in the modal popup. 
I tried to pass it as input parameter to the webblock. But it is not working. 

Is it because modal is getting initialized when the screen loads?

Thanks,

Sundeep.


 Hi Sun,

Try to refresh web block before open modal.

Hope it helps!

 

 Hi Hung,

It worked!

Thanks.