[Yujun] Added getter for input field to read the value.