fix textarea renderer for getting/setting value correctly
This commit is contained in:
parent
8d525c829b
commit
c243983942
|
@ -342,11 +342,11 @@ class CodeInputRenderer extends Renderer{
|
|||
}
|
||||
|
||||
getValue(parent){
|
||||
return parent.querySelector("textarea").textContent
|
||||
return parent.querySelector("textarea").value
|
||||
}
|
||||
|
||||
setValue(parent, v){
|
||||
parent.querySelector("textarea").textContent = v
|
||||
parent.querySelector("textarea").value = v
|
||||
}
|
||||
|
||||
connectedCallback(controller){
|
||||
|
|
Loading…
Reference in New Issue