func onSubmit (of: SubmitTriggers , (() -> Void)) -> some View
Adds an action to perform when the user submits a value to this view.
func submitScope (Bool) -> some View
Prevents submission triggers originating from this view to invoke a submission action configured by a submission modifier higher up in the view hierarchy.