Getting an uncaught error "NO_MODIFICATION_ALLOWED_ERR" for input binding

Solution 1:

OMG. The answer was to use the right binding attribute. Instead of text, it was value for an input!

Solution 2:

In my case, the problem was that I data-bind to text instead of value.

bad: <input type="text" data-bind="text:id" maxlength="3" style="width:100%;" />

good: <input type="text" data-bind="value:id" maxlength="3" style="width:100%;" />