Perhaps declaratively?

```javascript
self.inputValue = ko.computed(function() { return self.userInputValue() || self.defaultValue(); });
```

(with corresponding binding adjustment)