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!

  • Could you confirm if it's a lightning app? Or a component embedded on record detail page? – StormBr34ker May 22 '17 at 15:47
  • Hi Sumuga, I confirm it is a lightning app. – Loannies May 23 '17 at 7:36
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.