If you are accessing the node directly, `setInputText` should work fine. Here's 
a working example:
    
    
    include pkg/karax/prelude
    
    
    proc drawApp: VNode =
      buildHtml(tdiv):
        textarea(id="textareaPlainContent")
    
    setRenderer drawApp
    
    ##############################
    
    import std/dom
    
    var i = 0
    
    proc callback =
      getVNodeById("textareaPlainContent").setInputText("hello world " & 
cstring $i)
      inc i
    
    discard setInterval(callback, 1000)
    
    
    Run

If you can post a minimal one-file reproduction of your issue it would help to 
see if there is another cause

Reply via email to