Giving the following setup:
<textarea id="textarea-chat" type="text" data-bind="value: chatMessage" />
I'd like to open the developer console and manually set the value of chatMessage
document.getElementById('textarea-chat').value = 'somevalue';
Will change the content of the of the DOM element, but not the observer value.
Accessing chatMessage()
results in undefined
Suggestions are welcome