fix: auto focus to file name on opening editor dialog
All checks were successful
Caddy Manager CI build / docker (push) Successful in 1m6s
All checks were successful
Caddy Manager CI build / docker (push) Successful in 1m6s
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
|
||||
<MudDialog ActionsClass="pb-4 pr-6">
|
||||
<DialogContent>
|
||||
<MudTextField @bind-Value="FileName" Label="File name" Variant="Variant.Outlined"
|
||||
<MudFocusTrap>
|
||||
<MudTextField @bind-Value="FileName" Label="File name" Variant="Variant.Outlined"
|
||||
Style="margin-bottom: 8px;"
|
||||
ShrinkLabel="true"
|
||||
ReadOnly="@(!IsNew)"></MudTextField>
|
||||
</MudFocusTrap>
|
||||
<MudText Typo="Typo.caption" class="pl-4">File content</MudText>
|
||||
<StandaloneCodeEditor @ref="_codeEditor"
|
||||
ConstructionOptions="@EditorConstructionOptions"
|
||||
|
||||
Reference in New Issue
Block a user