adds hint to masked input