How to use text-overflow ellipsis in an html input field?

Setting text-overflow:ellipsis on the input itself did the trick for me. It truncates and places the ellipsis when the input is out of focus.

Leave a Comment