Skip to content

Commit 91da121

Browse files
committed
doc: 更新 DisplayDisabledDayAsEmpty 参数说明
1 parent 09eab5a commit 91da121

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

src/BootstrapBlazor.Server/Components/Samples/DateTimePickers.razor.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,13 @@ private AttributeItem[] GetAttributes() =>
275275
Type = "bool",
276276
ValueList = "true/false",
277277
DefaultValue = "true"
278+
},
279+
new() {
280+
Name = "DisplayDisabledDayAsEmpty",
281+
Description = Localizer["AttrDisplayDisabledDayAsEmpty"],
282+
Type = "bool",
283+
ValueList = "true/false",
284+
DefaultValue = "false"
278285
}
279286
];
280287
}

src/BootstrapBlazor.Server/Locales/en-US.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2570,7 +2570,8 @@
25702570
"FeatureShowFestivalsIntro": "<code>ShowFestivals</code> Whether to display festivals",
25712571
"FeatureShowHolidaysIntro": "<code>ShowHolidays</code> Whether to display holidays",
25722572
"OnGetDisabledDaysCallbackEvent": "Disable date callback method",
2573-
"AttrEnableDisabledDaysCache": "Whether to enable custom disabled date cache"
2573+
"AttrEnableDisabledDaysCache": "Whether to enable custom disabled date cache",
2574+
"AttrDisplayDisabledDayAsEmpty": "Display disabled date as an empty string"
25742575
},
25752576
"BootstrapBlazor.Server.Components.Samples.TimePickers": {
25762577
"Title": "TimePicker",

src/BootstrapBlazor.Server/Locales/zh-CN.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2570,7 +2570,8 @@
25702570
"FeatureShowFestivalsIntro": "<code>ShowFestivals</code> 是否显示节日",
25712571
"FeatureShowHolidaysIntro": "<code>ShowHolidays</code> 是否显示假日",
25722572
"OnGetDisabledDaysCallbackEvent": "获得自定义禁用日期回调方法",
2573-
"AttrEnableDisabledDaysCache": "是否启用获得自定义禁用日期缓存"
2573+
"AttrEnableDisabledDaysCache": "是否启用获得自定义禁用日期缓存",
2574+
"AttrDisplayDisabledDayAsEmpty": "显示禁用日期为空字符串"
25742575
},
25752576
"BootstrapBlazor.Server.Components.Samples.TimePickers": {
25762577
"Title": "TimePicker 时间选择器",

0 commit comments

Comments
 (0)