We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code for Input/+page.svelte is supposed to show an alert, but this is in a submit() function that never gets called:
submit()
function submit() { if (!$errors) { const controller = alertController .create({ header: 'Account Created', message: `Created account for: <b>${$form.firstName} ${$form.firstName}</b>`, buttons: [ { text: 'OK' } ] }) .then((alert) => alert.present()); } if ($errors) { const controller = alertController .create({ header: 'Account Not Created', message: `There were some errors - see console.log`, buttons: [ { text: 'OK' } ] }) .then((alert) => alert.present()); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How to reproduce
Problem
The code for Input/+page.svelte is supposed to show an alert, but this is in a
submit()
function that never gets called:The text was updated successfully, but these errors were encountered: