Add a hidden input for handling typing and setting value

The input is a single source of truth. Its value is mirrored in the
console display. Setting the console value must be done via the input
itself.