# I cannot render a basic input, complains about type mismatch

**URL:** <https://discourse.elm-lang.org/t/i-cannot-render-a-basic-input-complains-about-type-mismatch/8057>\
**Category:** Learn\
**Created:** [January 8, 2022, 9:49am UTC](https://discourse.elm-lang.org/t/i-cannot-render-a-basic-input-complains-about-type-mismatch/8057 "2022-01-08T09:49:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ines.uslu](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/ines.uslu/32/4426_2.png) [@ines.uslu](https://discourse.elm-lang.org/u/ines.uslu)\
**Post date:** [February 10, 2022, 5:37pm UTC](https://discourse.elm-lang.org/t/i-cannot-render-a-basic-input-complains-about-type-mismatch/8057/3 "2022-02-10T17:37:12Z")

</div>

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.

---

_[View the full topic](https://discourse.elm-lang.org/t/i-cannot-render-a-basic-input-complains-about-type-mismatch/8057)._
