trithuc-mvc-react 2.4.3 → 2.4.5

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.
@@ -15,7 +15,8 @@ export function FilterElement({
15
15
  datas,
16
16
  loading = false,
17
17
  onChange = () => {},
18
- size = "small"
18
+ size = "small",
19
+ handleChange = () => {},
19
20
  }) {
20
21
  const { control, setValue } = useFormContext();
21
22
 
@@ -100,6 +101,7 @@ export function FilterElement({
100
101
  value={value}
101
102
  displayEmpty
102
103
  onChange={(e) => {
104
+ handleChange(e);
103
105
  onFieldChange(e);
104
106
  setDataSearch({ ...dataSearch, [name]: e.target.value });
105
107
  }}
@@ -117,7 +117,7 @@ export default function UploadMultiFile({ error, showPreview = false, files, onR
117
117
  </Avatar>
118
118
  <Box sx={{ p: 1, ml: { md: 2 } }}>
119
119
  <Typography gutterBottom variant="h5">
120
- Click hoặc kéo thả file
120
+ Chọn hoặc kéo tập tin vào đây
121
121
  </Typography>
122
122
 
123
123
  {/* <Typography variant="body2" sx={{ color: "text.secondary" }}>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trithuc-mvc-react",
3
- "version": "2.4.3",
3
+ "version": "2.4.5",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"