Allow customization of OK button text
parent
f80e88a9a2
commit
857362181e
|
@ -26,6 +26,7 @@
|
||||||
[Parameter] public EventCallback<string> ValueChanged { get; set; }
|
[Parameter] public EventCallback<string> ValueChanged { get; set; }
|
||||||
[Parameter] public Guid ArchiveId { get; set; }
|
[Parameter] public Guid ArchiveId { get; set; }
|
||||||
[Parameter] public string Title { get; set; } = "Choose File";
|
[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 bool AllowDirectories { get; set; } = false;
|
||||||
[Parameter] public string Prefix { get; set; }
|
[Parameter] public string Prefix { get; set; }
|
||||||
[Parameter] public string Root { get; set; }
|
[Parameter] public string Root { get; set; }
|
||||||
|
@ -48,7 +49,7 @@
|
||||||
Maximizable = false,
|
Maximizable = false,
|
||||||
DefaultMaximized = true,
|
DefaultMaximized = true,
|
||||||
Closable = true,
|
Closable = true,
|
||||||
OkText = "Select File",
|
OkText = OkText,
|
||||||
WrapClassName = "file-picker-dialog"
|
WrapClassName = "file-picker-dialog"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue