supabase-community / auth-ui

Pre-built Auth UI for React
https://supabase.com/docs/guides/auth/auth-helpers/auth-ui
MIT License
478 stars 120 forks source link

fixed button not being disabled on svelte #165

Closed nasheomirro closed 1 year ago

nasheomirro commented 1 year ago

What kind of change does this PR introduce?

Fixes a bug where the button isn't being disabled because the loading prop is being passed as is instead of being passed as a value for disabled. This also fixes the EmailAuth component not passing the loading value to it's button.

What is the current behavior?

The button isn't being disabled when the form is submitted, making it look like the form is unresponsive.

What is the new behavior?

The form should now be working as expected.