docs icon indicating copy to clipboard operation
docs copied to clipboard

Tiny issue with step 5 of the tutorial

Open rickyManalo opened this issue 2 years ago • 0 comments

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.

rickyManalo avatar Aug 11 '23 01:08 rickyManalo