Port Resource Group node to react. Fixes #6629

This commit is contained in:
Akshay Joshi
2021-07-20 19:31:32 +05:30
parent 5db72a6916
commit be04bea2b6
4 changed files with 193 additions and 57 deletions

View File

@@ -130,7 +130,7 @@ function MappedCellControlBase({cell, value, id, optionsLoaded, onCellChange, vi
if(!isNaN(parseInt(value))) {
value = parseInt(value);
}
onChange && onChange(value);
onCellChange && onCellChange(value);
}, []);
const onNumChange = useCallback((e) => {
@@ -141,7 +141,7 @@ function MappedCellControlBase({cell, value, id, optionsLoaded, onCellChange, vi
if(!isNaN(parseFloat(value))) {
value = parseFloat(value);
}
onChange && onChange(value);
onCellChange && onCellChange(value);
}, []);
/* Some grid cells are based on options selected in other cells.