Skip to content

Commit

Permalink
This fixes Deadly0#2
Browse files Browse the repository at this point in the history
  • Loading branch information
sfblaauw committed Mar 16, 2019
1 parent 1ef7090 commit 7e4565c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Checkbox.tsx
Expand Up @@ -11,7 +11,7 @@ const CheckboxWrapper: React.SFC<FieldRenderProps> = ({
<Checkbox
{...rest}
name={name}
inputProps={restInput}
InputProps={restInput}
onChange={onChange}
checked={checked}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/Input.tsx
Expand Up @@ -13,7 +13,7 @@ const InputWrapper: React.SFC<FieldRenderProps> = ({input: {name, onChange, valu
{...rest}
name={name}
error={showError}
inputProps={restInput}
InputProps={restInput}
onChange={onChange}
value={value}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/Radio.tsx
Expand Up @@ -11,7 +11,7 @@ const RadioWrapper: React.SFC<FieldRenderProps> = ({
<Radio
{...rest}
name={name}
inputProps={restInput}
InputProps={restInput}
onChange={onChange}
checked={checked}
value={value}
Expand Down
2 changes: 1 addition & 1 deletion src/Select.tsx
Expand Up @@ -29,7 +29,7 @@ const FormHelperTextWrapper: React.SFC<FormHelperTextWrapperProps> = ({
{...rest}
name={name}
onChange={onChange}
inputProps={restInput}
InputProps={restInput}
value={value}
/>

Expand Down
2 changes: 1 addition & 1 deletion src/TextField.tsx
Expand Up @@ -12,7 +12,7 @@ const TextFieldWrapper: React.SFC<FieldRenderProps> = ({input: {name, onChange,
name={name}
helperText={showError ? meta.error || meta.submitError : undefined}
error={showError}
inputProps={restInput}
InputProps={restInput}
onChange={onChange}
value={value}
/>
Expand Down

0 comments on commit 7e4565c

Please sign in to comment.