Last active
November 5, 2018 17:20
-
-
Save redgeoff/d6547133647b8d2f0c453c83b113921f to your computer and use it in GitHub Desktop.
Autogenerating Forms Old - Load Values
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loadValues(form) { | |
// Load any initial data, e.g. from an API | |
form.setValues({ | |
id: 'abc123', | |
firstName: "Bob", | |
lastName: "Marley", | |
email: "[email protected]" | |
}); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment