Added read/write directive for input text field