0

I have a problem with a ui:inputDate field. I have a lightning app where I create dynamically a component. The created component is a form that contains an ui:inputDate field. On creation I set this date field to a date. While in salesforce the created component is rendered correctly and the set date is visible, when I run the app in salesforce1 the initial set date is not visible.

Anyone any thoughts on that? Any help is appreciated!

2
  • Could you confirm if it's a lightning app? Or a component embedded on record detail page?
    – Sumuga
    May 22, 2017 at 15:47
  • Hi Sumuga, I confirm it is a lightning app.
    – Loannies
    May 23, 2017 at 7:36

1 Answer 1

0

The problem was that I had a format 'dd-mmm-yyy' that did not work for all devices. Format 'YYYY-MM-DD' makes the date shown in all devices not in same format but at least it is shown. Thanks for any time spent for my question.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .