Hi Community,
I want to add placeholder in DateTime input field but unable to add.
Thanks In Advance
Regards
Piya
Hi Piya,
Use this css
input.empty-input::before { width: 100%; content: attr(placeholder); color: #bfbdbd; -webkit-appearance: none; }
and add condition in style class property like
If(DateVar= NullDate(),"empty-input","form-control")
Output-
Hope this will help you.
Rahul
Thanks Rahul,