Text Fields and Secure Fields are designed with a default Plain style that has no background and no border.
You can replace the default look by applying the Text Field Style modifier in Rounded Border, which adds a white background color and grey border.