You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why not use some CSS to hide the HTML placeholder when the input is not focused?
When you treat the input as not empty your placeholders appear different because in empty date input they are always on top of the field and in any other input they are inside.
Is it a workaround until datepicker is ready?
About the CSS approach, should be something like:
/*///////////////////////////////////////*/
/* Remove date default html5 placeholder */
/*///////////////////////////////////////*/
.no-datetime-placeholder input::-webkit-datetime-edit{ color: transparent; }
/* Include this to make it visible when input is clicked */
.no-datetime-placeholder input:focus::-webkit-datetime-edit{ color: #000; }
I'm using alpha.9-2, it's working for date input, but not for time input As I haven't found any thing about time input I think the issue is still in master.
Activity
danielgek commentedon Sep 14, 2016
@tomascharad in next release will be fixed, see this commit
vinagreti commentedon Sep 27, 2016
Why not use some CSS to hide the HTML placeholder when the input is not focused?
When you treat the input as not empty your placeholders appear different because in empty date input they are always on top of the field and in any other input they are inside.
Is it a workaround until datepicker is ready?
About the CSS approach, should be something like:
kara commentedon Oct 13, 2016
This should be fixed in master, so closing.
no-more commentedon Oct 20, 2016
Hi,
I'm using alpha.9-2, it's working for date input, but not for time input As I haven't found any thing about time input I think the issue is still in master.
Thanks.
TrevorBroderick1 commentedon Nov 7, 2016
I agree with @no-more .
This is fixed for type
datebut still occurs for typedatetime-local.Can we re-open this issue @kara ?
angular-automatic-lock-bot commentedon Sep 5, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.