trithuc-mvc-react 1.7.2 → 1.7.3

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.
@@ -77,7 +77,7 @@ export function FilterElement({ name, type, label, keyValue, keyLabel, childrenF
77
77
  case "select":
78
78
  return (
79
79
  <FormControl sx={{ minWidth: 160 }} size="small" fullWidth>
80
- <InputLabel id="demo-simple-select-label">{label}</InputLabel>
80
+ <InputLabel shrink={true}>{label}</InputLabel>
81
81
  <Select
82
82
  {...rest}
83
83
  labelId="demo-simple-select-label"
@@ -87,6 +87,7 @@ export function FilterElement({ name, type, label, keyValue, keyLabel, childrenF
87
87
  size={size}
88
88
  label={label}
89
89
  value={value ?? ""}
90
+ displayEmpty
90
91
  onChange={(e) => {
91
92
  onFieldChange(e);
92
93
  setDataSearch({ ...dataSearch, [name]: e.target.value });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trithuc-mvc-react",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"