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
You guys didn't explain the importance of the text variable inside <script setup>. Because of my experience with Angular, I questioned why I need to perform a two-way binding to a textbox/input. Then I realized that there was actually a variable named text above (and a
below it hehehe). And I did remember that that's how two-way binding is done in Angular as well. So it would've been nice if you point that out as complete beginner might not know how two-way binding actually works, well at least how it works on the "surface". I checked the dedicated "Form Input Bindings" documentation and it as well didn't mention the need to have a backing variable for the two-way binding, only the section about Checkbox have it.
The text was updated successfully, but these errors were encountered:
You guys didn't explain the importance of the
text
variable inside<script setup>
. Because of my experience withAngular
, I questioned why I need to perform a two-way binding to atextbox/input
. Then I realized that there was actually a variable namedtext
above (and abelow it hehehe). And I did remember that that's how two-way binding is done in Angular as well. So it would've been nice if you point that out as complete beginner might not know how two-way binding actually works, well at least how it works on the "surface". I checked the dedicated "Form Input Bindings" documentation and it as well didn't mention the need to have a backing variable for the two-way binding, only the section about
Checkbox
have it.The text was updated successfully, but these errors were encountered: