Skip to content

Commit

Permalink
fix uncontrolled input warnning
Browse files Browse the repository at this point in the history
  • Loading branch information
noriaki committed Jul 16, 2020
1 parent d6089e3 commit f830ee6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Report/Editor/BicycleId.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const BicycleId: NextComponentWithProps = ({ control }) => {
<Controller
control={control}
name="bicycleNo"
defaultValue=""
as={OutlinedInput}
fullWidth
id="bicycleNo"
Expand Down

0 comments on commit f830ee6

Please sign in to comment.