Thanks, @samjk. I did end up using your suggestion earlier. I learned quickly that onBlur
does not get ahold of the input’s text and I’d have to store it somewhere with onInput
.
This idea that Elm’s state includes buffer variables to keep track of these things is considerably different from other tools like React or Vue where there are component-level variables that typically store that data. I’ll have to get used to this.