add support for placeholder for text and textarea

as mentioned in #47