@dartech/arsenal-ui 1.4.72 → 1.4.73
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +9 -22
- package/package.json +1 -1
package/index.js
CHANGED
@@ -903,20 +903,12 @@ const ControlAutocomplete = _a => {
|
|
903
903
|
helperText: !hideErrorMessage && (error === null || error === void 0 ? void 0 : error.message),
|
904
904
|
FormHelperTextProps: {
|
905
905
|
variant: 'standard'
|
906
|
-
}
|
907
|
-
}, startAdornment ? {
|
908
|
-
InputProps: Object.assign(Object.assign({}, params.InputProps), {
|
909
|
-
startAdornment: jsxs(Fragment, {
|
910
|
-
children: [startAdornment, params.InputProps.startAdornment]
|
911
|
-
})
|
912
|
-
})
|
913
|
-
} : {}, endAdornment ? {
|
906
|
+
},
|
914
907
|
InputProps: Object.assign(Object.assign({}, params.InputProps), {
|
915
|
-
|
916
|
-
|
917
|
-
})
|
908
|
+
startAdornment: startAdornment ? startAdornment : params.InputProps.startAdornment,
|
909
|
+
endAdornment: endAdornment ? endAdornment : params.InputProps.endAdornment
|
918
910
|
})
|
919
|
-
}
|
911
|
+
}, textFieldProps));
|
920
912
|
}
|
921
913
|
}, autocompleteProps));
|
922
914
|
};
|
@@ -1120,20 +1112,15 @@ function ControlQueryAutocomplete(_a) {
|
|
1120
1112
|
FormHelperTextProps: {
|
1121
1113
|
variant: 'standard'
|
1122
1114
|
},
|
1123
|
-
InputProps: Object.assign(Object.assign(
|
1124
|
-
endAdornment: endAdornment ? jsxs(React.Fragment, {
|
1115
|
+
InputProps: Object.assign(Object.assign({}, params.InputProps), {
|
1116
|
+
endAdornment: endAdornment ? endAdornment : jsxs(React.Fragment, {
|
1125
1117
|
children: [isFetching ? jsx(CircularProgress, {
|
1126
1118
|
color: "inherit",
|
1127
1119
|
size: 20
|
1128
1120
|
}) : null, params.InputProps.endAdornment]
|
1129
|
-
})
|
1130
|
-
|
1131
|
-
|
1132
|
-
}), startAdornment ? {
|
1133
|
-
startAdornment: jsxs(Fragment, {
|
1134
|
-
children: [startAdornment, params.InputProps.startAdornment]
|
1135
|
-
})
|
1136
|
-
} : {})
|
1121
|
+
}),
|
1122
|
+
startAdornment: startAdornment ? startAdornment : params.InputProps.startAdornment
|
1123
|
+
})
|
1137
1124
|
}, textFieldProps))
|
1138
1125
|
}, autocompleteProps));
|
1139
1126
|
}
|