Browse Source

fix(ui): make Range component more configurable

renovate/lint-staged-8.x
Tom Kirkpatrick 6 years ago
parent
commit
cb518fdeaf
No known key found for this signature in database GPG Key ID: 72203A8EC5967EA8
  1. 4
      app/components/UI/Range.js

4
app/components/UI/Range.js

@ -31,11 +31,11 @@ const Range = asField(({ fieldState, fieldApi, ...props }) => {
const { onChange, onBlur, initialValue, forwardedRef, ...rest } = props
return (
<Input
{...rest}
type="range"
min={0}
max={100}
step={1}
{...rest}
type="range"
ref={forwardedRef}
value={value || initialValue || '0'}
onChange={e => {

Loading…
Cancel
Save