MCPcopy
hub / github.com/mailvelope/mailvelope / onClickSubmit

Function onClickSubmit

src/components/encrypted-form/encryptedForm.js:84–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 }
83
84 onClickSubmit() {
85 // Set state to submit
86 // This will cover the form with a spinner and trigger validation in FormSandbox
87 // and a possible onValidatedCall callback
88 this.setState({validated: false, validate: true});
89 }
90
91 onValidated(data) {
92 // when the data is validated, tell controller to encrypt and submit

Callers

nothing calls this directly

Calls 1

setStateMethod · 0.45

Tested by

no test coverage detected