Skip to content

Instantly share code, notes, and snippets.

@azamsharp
Created October 24, 2017 17:29
Show Gist options
  • Save azamsharp/a2c0c73031b56d20a23de707c4b153b5 to your computer and use it in GitHub Desktop.
Save azamsharp/a2c0c73031b56d20a23de707c4b153b5 to your computer and use it in GitHub Desktop.
struct ChangePasswordViewModel : ViewModel {
@Required(message: "New Password is required", minLength:8)
var newPassword = Dynamic<String>("")
@Required(message: "Confirm Password is required", minLength: 8)
var confirmPassword = Dynamic<String>("")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment