fix missing placeholder after remove text

First of all, thx for your work, it really helped me a lot :)

I don't know why, but randomly I was facing the following bug : the placeholder was not showing up when the user removed all the text. I had to modify this 2 lines.

Let me know if I missed something or what.