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.

 


mvp_badge
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

Can you please share the screen shot or oml?

mvp_badge
MVP

Hi Mohamed,


Check the OML in attachment for an example.


Kind Regards,
João

ReactiveSandbox7.oml

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.