152
Views
3
Comments
Keeping the Date Picker Value After Refresh
Question

I am trying to keep the date within the the input widget after my refresh has taken place to display the error.

Capture.PNG
2021-04-09 11-42-43
assif_tiger
 
MVP

Hold that value on a variable, before u call ajax-refresh

2025-11-19 06-14-01
Miguel Verdasca
Champion

If you have that value in a part of the screen that does not need to be refreshed, then refresh only the area you need (Container), as you can see in the example below.

Otherwise, before doing ajax refresh, assign the value to a local variable, and then you can refresh and keep the value you want.

https://success.outsystems.com/Documentation/11/Developing_an_Application/Implement_Application_Logic/Use_Ajax_to_Refresh_Part_of_a_Screen

UserImage.jpg
Devon Williams

Nuno Miguel Verdasca wrote:

If you have that value in a part of the screen that does not need to be refreshed, then refresh only the area you need (Container), as you can see in the example below.

Otherwise, before doing ajax refresh, assign the value to a local variable, and then you can refresh and keep the value you want.

https://success.outsystems.com/Documentation/11/Developing_an_Application/Implement_Application_Logic/Use_Ajax_to_Refresh_Part_of_a_Screen


Didn't work still clears the value that was set


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.