Change disableInput behavior to allow programmatic edits.
Fixup 63a49817a4522ada322ea81fd8b341d4dd7ee598

Issue #1565