Update stale event docs in tutorial

The example uses onSubmit but the docs were still referring to onKeyUp.