Describe the bug
Change from #332 broke the functionality that a user can submit the form by pressing enter on the LoginInit screen. Now instead of submitting the form, the input will switch to it's phone version. This is the case because the SecondaryButton now also is a button instead of a span.
Describe the bug Change from #332 broke the functionality that a user can submit the form by pressing enter on the LoginInit screen. Now instead of submitting the form, the input will switch to it's phone version. This is the case because the SecondaryButton now also is a button instead of a span.
To Reproduce Go to https://develop.react.playground.corbado.io/pro-6698593986287122356/auth#signup-init, focus the input field, provide a value and press enter.
Expected behavior Pressing enter should submit the form again. Two options: