Closed Kax675 closed 1 year ago
React doesn't have two-way data binding.
Use the classic React way of updating the value using the onChange
:
<script lang="ts">
import { Input, Text } from "@geist-ui/core";
let value = "";
</script>
<react:Input {value} on:change={(e) => { value = e.target.value }} />
<react:Text>{value}</react:Text>
I don't need to talk too much, the bindings don't work. Anyone know the solution for this?