when to use controlled inputs in react form code example Example: react file input <input type="file" />