I can't figure out how to react to changes when using TextArea or TextField.
I would have expected bind:value to work
<TextArea fullwidth bind:value />
<script>
import { TextArea } from "svelte-material-components";
export default {
data () {
return {
value: "Hello World"
}
},
onstate () {
let { value } = this.get()
console.log(value)
},
components: {
TextArea
}
}
</script>
Or at the very least on:change
<TextArea fullwidth {value} on:change="set({ value: this.value })" />
But neither change the value.
I can't figure out how to react to changes when using TextArea or TextField.
I would have expected
bind:valueto workOr at the very least
on:changeBut neither change the value.