Add onSubmitEnabled option