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