function handleError(){
if(reverse_auto.length === Object.keys(props.values.columns).length){
if(sum(Object.values(props.values.columns)) > props.values.total_width){
props.setFieldError('exceed', "* total width of columns must not exceed Total width");
}
if(sum(Object.values(props.values.columns)) < props.values.total_width){
props.setFieldError('less', "* total width of columns must not be less than Total width");
}
}
}
setFieldError not working
Bug report
Current Behavior
Expected behavior
Reproducible example
Suggested solution(s)
Additional context
Your environment