Added some minor changes for dinamic placeholder and selectAllText