InfoWings / Knowledge-Net

Complex data management solution
1 stars 2 forks source link

RangedDecimalInput throw exception #393

Closed underlow closed 5 years ago

underlow commented 5 years ago

RangedDecimalInput throws exception, cause :

NumericInput {
            attrs {
                this.value = props.lwb
                this.majorStepSize = 5.0 * step
                this.minorStepSize = 2.0 * step
                this.stepSize = step
                this.onValueChange = this@RangedDecimalInput::changeLowerBoundary
                this.disabled = props.disabled ?: false
                placeholder = if (state.isRange) "-Infinity" else ""
            }
        }

this.minorStepSize should be strictly less than stepSize