Date Picker Issue

Hai guys please clarify my issue

when I select the start date it automatically picks the end date and selects the time in leave dates also but I know this process is wrong, I select the start date it will select the start date only, and also the same process end date also how can I do? plz, clarify for me.

Screenshot (14).png
Solution

please note to mark the previous post as a solution to your main query.

coming back to your latest(2.) point ,that block is appending the vale every time into that Expression, Use the OnParametersChanged Event of the block to resolve your Issue.
attached modified oml.

DatePicker.oml

Hello Balaji,

Are you using different values for InputWidgetId in your Datepicker blocks?

Do you mind sharing your module?

Hai Afonso Carvalho, Thanks for giving a solution but I worked it Reactive web I think you suggest an image for traditional so I didn't understand it clearly so please explain step by step .


He was asking if you could share the oml file of your Application, which would  help us to trace the issue quick.

This is my OAP module file kindly check it

Date Picker.oap

It is clear from your oml that you were assigning same Local variable Start Date to Both the Input Widgets, Which needs to be a separate variable

Hi Balaji Rajaram ,

check with the Local variable you have assigned for Start date Input field, also as Carvalho mentioned check with the widget Id assigned to Each of the date pickers.

Either it might be same variable which is storing either of the dates or the widget id assigned to each Date picker might have been the same, please check

Dear Rajaram ,
I have Edited the Oml you have posted with needed modifications, check those and try publish.

Hope it works fine as you expected!!

DatePicker.oml

yes bro now that issues are cleared and again one issue bro please clarify to me that the issue image was attached

1. when I am choosing the end date 10-may-2022 it will show on the end date before dates, it's fine

2. supposed I choose the many of the date example day 9, day 8, day 7, it will be shown a 2 pointed area 

how can I clear the issues bro?

I expected an example image to is below this one.

Solution

please note to mark the previous post as a solution to your main query.

coming back to your latest(2.) point ,that block is appending the vale every time into that Expression, Use the OnParametersChanged Event of the block to resolve your Issue.
attached modified oml.

DatePicker.oml

thanks for helping brother everything is working fine except for that block area I will try to clear that issue brother.

kindly remember to mark the working post as Solution, as it would help other community members find the solution post right away!!

Sure Brother, Once I Complete it successfully I will upload it and I will also explain it.

I was indicating about the main question you posted..the title of this whole page has already got an answer right..??

Hmm, So as a  Post creator..you will have an option to mark one of the reply as Solution,which you might be missing!!

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