inputed text is selected as shown