55
Views
4
Comments
[Ios] Date picker auto add Today to Input Field
Question

- I using Date Picker for Mobile App. 

- When I touch the input box, the date picker box opens and have 1 issues.

Today date is immediately jumped into the input box on IPhone Device. (Androi not add Today). I still haven't chosen a date yet.

Is there any way to prevent the current date from automatically jumping into the input box On IPhone?

2025-04-15 04-00-33
Prakhar Sharma

Hi @Huy Hoang The,

Can you please share some code screenshots or OML for some reference?

Regards,

Prakhar Sharma

2024-10-05 13-30-20
Huy Hoang The

sorry, i can't share code but i can describle it.

1. I set default Input field (Inside Date Picker) by 1 local variable = NullDate().

2. I use DatePicker template and call 1 client action (OnSelectDatePicker)

the client action don't have any actions/nodes.


=> But i don't know why Input field assigned = Today immediately. I haven't chosen a date yet

(Android don't have this issues.)

and if i select any date, input field assigned again. it true both 2 device.



2025-04-15 04-00-33
Prakhar Sharma

I am also working on a mobile application at this moment, but I don't have such issue in my application. The OutSystemsUI version that I am using is 2.17.0. 

Try to update OutSystemsUI once and check.

Hope this helps!

Regards,

Prakhar Sharma

2024-10-05 13-30-20
Huy Hoang The
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.