Added text setter/getter for input

Added text setter/getter for input