html when you modify input code example Example: setting value doesnt allow to edit in html input use defaultValue attribute