You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before posting an issue, read the FAQ and search the previous issues.
Description
A clear and concise description of what the bug is, and, unless obvious, what you expected instead.
This is the script in a page.svelte file:
This is the HTML part of the code:
If I change the argument passed as the loading prop to become $loadingStates.login instead of $delayed && $loadingStates.login the login button will accurately depict the state of the loading button once clicked. I am just not sure why the delayed variable is not changing, despite it being said to change in the tutorial/documentation.
I also logged the value of $delayed to the console during the loading of the event button, and it still shows the delayed to be false.
Any guidance would be appreciated.
The text was updated successfully, but these errors were encountered:
There is nothing wrong with $delayed, as you can see from this simple example, so you need to figure out what causes it. Try removing $loadingStates to begin with and see if delayed works as expected at all for you.
Description
A clear and concise description of what the bug is, and, unless obvious, what you expected instead.
This is the script in a page.svelte file:
This is the HTML part of the code:
If I change the argument passed as the loading prop to become $loadingStates.login instead of $delayed && $loadingStates.login the login button will accurately depict the state of the loading button once clicked. I am just not sure why the delayed variable is not changing, despite it being said to change in the tutorial/documentation.
I also logged the value of $delayed to the console during the loading of the event button, and it still shows the delayed to be false.
Any guidance would be appreciated.
The text was updated successfully, but these errors were encountered: