When you call createInput the value field determine what starts typed into input box. So one would think calling editInput with a value for that parameter would update it, but instead nothing happens.
My current workaround is remove the input and readd it each time i wish set the text (in this case clear it out)