wfp/designsystem

Warning name in TextInput in Slider component

Closed this issue · 0 comments

The code written for the Slider component is:

<Slider
  fullWidth
  id="slider-id"
  name="slider-name"
  min={0}
  max={100} 
  minLabel="%"
  maxLabel="%"
  disabled={!checkValue}
  value={value}
  onChange={setValue}
/>

I receive a warning in console about the name of a TextInput inside the slider
Screenshot 2020-11-13 at 12 16 04