mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 00:08:25 +00:00
* fix: render the onboarding page server-side without crashing Vuelidate registers rules declared through the Options API `validations()` option inside `onBeforeMount`, which server-side rendering never runs. `v$` was therefore empty while DatabaseStep's template rendered `v$.name.$error`, so a cold SSR of /onboarding returned a 500. SSO logins hit this on every new user: the provider redirects to /dashboard, which server-redirects to /onboarding before any client JS runs. Register the rules through the composition form instead, so they exist during SSR, and move the misplaced optional chain in the form mixin so `v$.values` being absent no longer throws. Closes #6043 * chore: address review feedback Reword the changelog entry in user-facing terms and drop the `$registry` override from the SSR test, which never reached the component because it resolves the registry through `useNuxtApp()`.