State not storing input data if value is given

I am trying to have an initial value in my input field before the user edits it. But when an initial value is given, it does erase when I try to remove it.

<Input
  type="text"
  placeholder={
  title === "" && fieldsFilled === false
  ? "This is a required field"
  : "Enter Title"
  }
  id="title"
  onChange={(e) => setTitle(e.target.value)}
  style={
  title === "" && fieldsFilled === false
  ? styles
  : null
  }
/>

Why is my state not updating when I change. What is wrong with the onChange?