mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-02 20:17:58 +08:00
fix(module: pagination): Use same Locale for Pagination and PaginationOptions (#2244)
This commit is contained in:
parent
569fa4a344
commit
92a4ed3a24
@ -310,6 +310,7 @@
|
||||
</li>
|
||||
|
||||
<PaginationOptions
|
||||
Locale="@Locale"
|
||||
IsSmall="@IsSmall"
|
||||
Disabled="@Disabled"
|
||||
RootPrefixCls="@PrefixCls"
|
||||
|
@ -43,7 +43,8 @@ namespace AntDesign
|
||||
|
||||
private string _goInputText = string.Empty;
|
||||
|
||||
private PaginationLocale Locale = LocaleProvider.CurrentLocale.Pagination;
|
||||
[Parameter]
|
||||
public PaginationLocale Locale { get; set; } = LocaleProvider.CurrentLocale.Pagination;
|
||||
|
||||
private int GetValidValue()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user