MCPcopy Create free account
hub / github.com/Lobos/react-ui / handleSubmit

Method handleSubmit

src/Form.js:103–110  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

101 }
102
103 handleSubmit (event) {
104 if (this.props.disabled) {
105 return;
106 }
107
108 event.preventDefault();
109 this.submit();
110 }
111
112 submit () {
113 let success = this.validate();

Callers

nothing calls this directly

Calls 1

submitMethod · 0.95

Tested by

no test coverage detected