Skip to content

Commit

Permalink
Update full example in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
joeshonm committed May 6, 2020
1 parent 1296745 commit 81a33be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ struct ContentView: View {

sectionOne.model.fields.append(SimpleFormField(textField: "Email", labelPosition: .above, name: "email", value: "", validation: [.required, .email], keyboardType: .emailAddress))

sectionOne.model.fields.append(SimpleFormField(slider: "Opacity", name: "opacity", value: 0.85, range: 0...1))

self.jamForm.model.sections.append(sectionOne)

// Section Two
Expand Down

0 comments on commit 81a33be

Please sign in to comment.