Skip to content
New issue

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

Tiny issue with step 5 of the tutorial #2470

Open
rickyManalo opened this issue Aug 11, 2023 · 0 comments
Open

Tiny issue with step 5 of the tutorial #2470

rickyManalo opened this issue Aug 11, 2023 · 0 comments

Comments

@rickyManalo
Copy link

rickyManalo commented Aug 11, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant