Deprecated Initializers

Review deprecated text field initializers.

Overview 概要

Use view modifiers to specify change and commit behaviors for a text field when replacing these initializers. Use the onSubmit(of:_:) view modifier to get the the behavior provided by the onCommit parameter. Use focused(_:equals:) and FocusState to get the behavior provided by the onEditingChanged parameter.

Topics 話題

Creating a Text Field with a String

Creating a Text Field with a Value