feat: make the file name in edit mode be readonly instead of disabled
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="BlazorMonaco" Version="3.3.0" />
|
||||
<PackageReference Include="Docker.DotNet" Version="3.125.15" />
|
||||
<PackageReference Include="MudBlazor" Version="8.0.0" />
|
||||
<PackageReference Include="NetCore.AutoRegisterDi" Version="2.2.1" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<MudTextField @bind-Value="FileName" Label="File name" Variant="Variant.Outlined"
|
||||
Style="margin-bottom: 8px;"
|
||||
ShrinkLabel="true"
|
||||
Disabled="@(!IsNew)"></MudTextField>
|
||||
ReadOnly="@(!IsNew)"></MudTextField>
|
||||
<MudText Typo="Typo.caption" Style="padding-left: 18px; padding-bottom: 8px;">File content</MudText>
|
||||
<StandaloneCodeEditor @ref="_codeEditor"
|
||||
ConstructionOptions="@EditorConstructionOptions"
|
||||
|
||||
Reference in New Issue
Block a user