Slide 51
Slide 51 text
struct SignUpForm: Form {
...
init(name: String, email: String, prefecture: Prefecture
nameField = StringFormField(
id: .name,
name: " 名",
value: name,
maxCharactersCount: 20)
emailField = EmailFormField(
id: .email,
name: " ",
value: email)
prefectureField = SelectionFormField(
id: .prefecture,
name: " 住 都道府県",
value: prefecture)
}
}