added autofocus property for text box