Skip to content

Commit

Permalink
Updated the slider control due to typing changes
Browse files Browse the repository at this point in the history
The version update pulled in new versions of material-ui.
On of those is mui/material-ui#12173
Removed the autofocus to be compatible with the new typings
  • Loading branch information
eneufeld authored and edgarmueller committed Jul 27, 2018
1 parent b3b2d38 commit 6943277
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/material/src/controls/MaterialSliderControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export class MaterialSliderControl extends Control<ControlProps, ControlState> {
enabled,
errors,
label,
uischema,
scopedSchema,
handleChange,
visible,
Expand Down Expand Up @@ -110,7 +109,6 @@ export class MaterialSliderControl extends Control<ControlProps, ControlState> {
}
id={id}
disabled={!enabled}
autoFocus={uischema.options && uischema.options.focus}
step={scopedSchema.multipleOf || 1}
/>
<FormHelperText error={!isValid}>
Expand Down

0 comments on commit 6943277

Please sign in to comment.