src/components/generic/NumberInputField.js
Function handleChange
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
handleChange(value) {
const { minVal, maxVal, stepVal } = this.props.rangeParams
const validity = this.myRef.current.validity
if (validity.badInput) {
Avoid too many return
statements within this function. Wontfix
Wontfix
return