wrap input value assignment into a watcher