init(_:text:)
Creates a text field with a localized prompt.