Default value for text field being ignored