Level 2
never mind. the solution - to go further with the episode and it works later. )
Hi,
In episode 18 (from 1.10 on video) I added
v-model="search"
into input field code. And here is what I have in "script setup"
<script setup>
import { ref, watch } from "vue";
import Pagination from "../Shared/Pagination";
let props = defineProps({
users: Object,
});
let search = ref('');
watch(search, value => {
console.log('changed ' + value);
});
</script>
But when I'm typing a search term (2.20 on video) nothing appears in a console.
Please help. Just one minute on video, but I'm struggling with it the second day. )
never mind. the solution - to go further with the episode and it works later. )
Please or to participate in this conversation.