trithuc-mvc-react 1.0.5 → 1.0.6

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.
@@ -52,6 +52,7 @@ export function FilterElement({ name, type, label, keyValue, keyLabel, childrenF
52
52
  disablePortal
53
53
  loading={loading}
54
54
  size="small"
55
+ noOptionsText="Không có dữ liệu"
55
56
  fullWidth
56
57
  options={datas ?? []}
57
58
  onChange={(event, newValue) => {
@@ -116,6 +116,7 @@ function FormField({
116
116
  return (
117
117
  <Autocomplete
118
118
  disablePortal
119
+ noOptionsText="Không có dữ liệu"
119
120
  loading={loading}
120
121
  size={size}
121
122
  options={datas ?? []}
@@ -53,7 +53,7 @@ const DateRangePicker = ({ onChange = () => {}, value }) => {
53
53
  sx={{ flex: 1 }}
54
54
  format={DEFAULT_DATE_FORMAT}
55
55
  onFocus={handleFocus}
56
- label="From"
56
+ label="Từ ngày"
57
57
  onChange={(value) => {
58
58
  setDateRange((d) => ({
59
59
  ...d,
@@ -70,7 +70,7 @@ const DateRangePicker = ({ onChange = () => {}, value }) => {
70
70
  <DateField
71
71
  sx={{ flex: 1 }}
72
72
  format={DEFAULT_DATE_FORMAT}
73
- label="To"
73
+ label="Tới ngày"
74
74
  onFocus={handleFocus}
75
75
  onChange={(value) => {
76
76
  setDateRange((d) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trithuc-mvc-react",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"