@ssplib/react-components 0.0.208 → 0.0.209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -871,7 +871,8 @@ function Table({ mediaQueryLG, columns, fetchFunc, emptyMsg = {
|
|
|
871
871
|
console.log(value);
|
|
872
872
|
if (value) {
|
|
873
873
|
const id = `${f}:${JSON.stringify(value)}`;
|
|
874
|
-
|
|
874
|
+
console.log(x.type, x.keyName, id, value === null || value === void 0 ? void 0 : value.label.toLowerCase(), x.referenceKey);
|
|
875
|
+
handleFilterOption(x.type, x.keyName, id, value === null || value === void 0 ? void 0 : value.id.toLowerCase(), x.referenceKey);
|
|
875
876
|
setOldSelectState(id);
|
|
876
877
|
}
|
|
877
878
|
else {
|
|
@@ -902,7 +903,6 @@ function FetchSelectAutoComplete(props) {
|
|
|
902
903
|
});
|
|
903
904
|
}, []);
|
|
904
905
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
905
|
-
react_1.default.createElement(Typography_1.default, { marginLeft: 1 }, props.label),
|
|
906
906
|
react_1.default.createElement(material_1.Autocomplete, { options: data, onFocus: (e) => console.log('ata'), onChange: props.onChange, sx: {
|
|
907
907
|
margin: 1,
|
|
908
908
|
}, size: 'small', renderInput: (params) => react_1.default.createElement(TextField_1.default, Object.assign({}, params, { label: props.label })) })));
|