From a3f4566903e67d29e81715324c48ec97e890f1cc Mon Sep 17 00:00:00 2001
From: Cristiano Magro <cristiano.magro@vola.it>
Date: Fri, 27 Dec 2024 09:05:54 +0100
Subject: [PATCH] uso di $refs per recuperare un input

---
 05 - behind the scenes/xno_behind-scenes-01-starting-setup/index.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/05 - behind the scenes/xno_behind-scenes-01-starting-setup/index.html b/05 - behind the scenes/xno_behind-scenes-01-starting-setup/index.html
index 8458684..8856f6f 100644
--- a/05 - behind the scenes/xno_behind-scenes-01-starting-setup/index.html
+++ b/05 - behind the scenes/xno_behind-scenes-01-starting-setup/index.html
@@ -18,7 +18,7 @@
     </header>
     <section id="app">
       <h2>How Vue Works</h2>
-      <input type="text" @input="saveInput">
+      <input type="text" ref="userText">
       <button @click="setText">Set Text</button>
       <p>{{ message }}</p>
     </section>

--
Gitblit v1.8.0