JSFiddle - React, Tailwind, and code Playground
by btg5679
HTML
<textarea disabled id="CCHPISentence" style="width:99.7%; height:75px; resize: none; font-family:Verdana; overflow: auto;" data-bind="text: fullSymptomTextObservable"></textarea>
<button>
</button>
JavaScript
function symptomTextViewModel(fullText) {
if (fullText === undefined) {
fullText = "";
}
this.fullSymptomTextObservable = ko.observable(fullText.toString());
}
ko.applyBindings(symptomTextViewModel, document.getElementById("CCHPISentence"));