Passing an input field to a Text Field doesn't work