Ionic: ion-datetime placeholder


#1

Hello,

I have some problems with ion-datetime because I try to use a placeholder attribute and it doesn’t work.

Does anyone if it is working in the new ionic framework? Any solution?

Thanks,
Enric


#2

Especially in an initial post, “it doesn’t work” is hopelessly vague. Show the code you use and describe expected and actual behavior.

The placeholder text displays in gray as expected for me if the backing property of the datetime element is unset.


#3

Sorry, I have a problem with the colors.

It works!!!