Allow customization of OK button text

dhcp-server
Pat Hartl 2023-09-11 19:18:03 -05:00
parent f80e88a9a2
commit 857362181e
1 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@
[Parameter] public EventCallback<string> ValueChanged { get; set; }
[Parameter] public Guid ArchiveId { get; set; }
[Parameter] public string Title { get; set; } = "Choose File";
[Parameter] public string OkText { get; set; } = "Select File";
[Parameter] public bool AllowDirectories { get; set; } = false;
[Parameter] public string Prefix { get; set; }
[Parameter] public string Root { get; set; }
@ -48,7 +49,7 @@
Maximizable = false,
DefaultMaximized = true,
Closable = true,
OkText = "Select File",
OkText = OkText,
WrapClassName = "file-picker-dialog"
};