Blazor EditForm OnSubmit behavior

I am working on the open-source KidsIdKit app and have encountered some “interesting” behavior with the EditForm component and how buttons trigger the OnSubmit event. An EditForm is declared similar to this: <EditForm Model= "CurrentChild" OnSubmit= "SaveData" > I would expect that any button component with type="submit" would trigger the OnSubmit handler. <button class= "btn btn-primary" type=…