Fix input field value