18
Views
3
Comments
Solved
Date Picker DateFormat not working on mobile
Application Type
Reactive
Service Studio Version
11.54.70 (Build 63475)

I use date picker and set date format = "DD MMM YYYY" it's working on Desktop and have 2 input and no error


but when I try on mobile it's not work and get 3 input and no error 
How can I solve this problem or have any way for this?

Testmobile.oml
UserImage.jpg
Jittapon Sittivaraporn
Solution

I think I know the answer now,
I go back to read document again it mention that DatePicker s based on the flatpickr library  and flatpickr library - Mobile Support mention that 

when flatpickr detects a mobile browser, it turns the date input into a native date/time/datetime input.

so if need a format "DD MMM YYYY" we can customize it by use input type text for show on mobile

2024-03-23 18-16-49
Bryan Villalobos

Hi @Jittapon Sittivaraporn 

i have tested your oml and it is working as expected for both desktop and mobile.

Can you please elaborate what exact issue you are having?

Regards,

Bryan

UserImage.jpg
Jittapon Sittivaraporn

@Bryan Villalobos 

Thank you for answer, and I think It's work as expected like document mention.
I have problem with mobile so I search doument and get the answer now.

Best Regards,
Fred

UserImage.jpg
Jittapon Sittivaraporn
Solution

I think I know the answer now,
I go back to read document again it mention that DatePicker s based on the flatpickr library  and flatpickr library - Mobile Support mention that 

when flatpickr detects a mobile browser, it turns the date input into a native date/time/datetime input.

so if need a format "DD MMM YYYY" we can customize it by use input type text for show on mobile

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