82
Views
5
Comments
When I try to format the date as "MM/DD/YYYY" in control picker issue
Application Type
Traditional Web

When I try to change the Date format in the control picker(Date picker) but input is displayed as invalid Date! and not able to save the date in "MM/DD/YYYY" format.


  • I changed the Date format to "MM/DD/YYYY"

  • Not able to save the input by changing the date format.

 


2018-10-29 08-31-03
João Marques
 
MVP

Hi Mohamed,


When using the DatePicker, the input should be a field of the type Text.

So it's common to use two variables when using the Date Picker: 

  1. one with the Date / DateTime type where you assign the value coming from the OnChange of the DatePicker
  2. one with Text type to bind to the input.


Kind Regards,
João

2023-12-10 17-17-24
Mohamed Zubair Ahmed Rizwan

Can you please share the screen shot or oml?

2018-10-29 08-31-03
João Marques
 
MVP

Hi Mohamed,


Check the OML in attachment for an example.


Kind Regards,
João

ReactiveSandbox7.oml
2023-12-10 17-17-24
Mohamed Zubair Ahmed Rizwan
2023-12-10 17-17-24
Mohamed Zubair Ahmed Rizwan

Hi Marques,

   When I refresh the page after saving the input field becomes like "MM/DD/YYYY" but the exact date is not displayed in the input field. 


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