mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-05 13:39:39 +08:00
!2356 doc(#I4S1KP): add ValidateRules doc of BootstrapInput
* doc: 增加 ValidateRules 文档 * doc: 更新资源文件
This commit is contained in:
parent
2f10e9b55d
commit
7b02a81683
@ -1230,7 +1230,8 @@
|
||||
"Att9": "The user presses the Esc key to call back the delegate",
|
||||
"Att10": "Whether to disable Fasle by default",
|
||||
"Att11": "Whether to get the focus automatically Default is fasle",
|
||||
"IsSelectAllTextOnFocus": "Whether auto select the all text after focus"
|
||||
"IsSelectAllTextOnFocus": "Whether auto select the all text after focus",
|
||||
"ValidateRules": "Customer validation collection"
|
||||
},
|
||||
"BootstrapBlazor.Shared.Samples.InputNumbers": {
|
||||
"Title": "InputNumber",
|
||||
|
@ -1231,7 +1231,8 @@
|
||||
"Att9": "用户按下 Esc 键回调委托",
|
||||
"Att10": "是否禁用",
|
||||
"Att11": "是否自动获取焦点",
|
||||
"IsSelectAllTextOnFocus": "获得焦点后自动选择输入框内所有字符串"
|
||||
"IsSelectAllTextOnFocus": "获得焦点后自动选择输入框内所有字符串",
|
||||
"ValidateRules": "自定义验证集合"
|
||||
},
|
||||
"BootstrapBlazor.Shared.Samples.InputNumbers": {
|
||||
"Title": "InputNumber 组件",
|
||||
|
@ -151,6 +151,14 @@ public partial class Inputs
|
||||
Type = "bool",
|
||||
ValueList = "true|false",
|
||||
DefaultValue = "false"
|
||||
},
|
||||
new AttributeItem()
|
||||
{
|
||||
Name = nameof(BootstrapInput<string>.ValidateRules),
|
||||
Description = Localizer[nameof(BootstrapInput<string>.ValidateRules)].Value,
|
||||
Type = "List<IValidator>",
|
||||
ValueList = " — ",
|
||||
DefaultValue = " — "
|
||||
}
|
||||
};
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user