Skip to content

Commit

Permalink
Name should be editable while adding a new scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Nfactor26 committed Apr 10, 2022
1 parent ee0dc0b commit 57163f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pixel.Identity.UI.Client/Components/ScopeForm.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<MudTextField Label="Name"
@bind-Value="Scope.Name" For="@(() => Scope.Name)" Disabled="true"/>
@bind-Value="Scope.Name" For="@(() => Scope.Name)" Disabled="!string.IsNullOrEmpty(Scope.Id)"/>
<MudTextField Label="Display Name" Class="mt-3"
@bind-Value="Scope.DisplayName" For="@(() => Scope.DisplayName)" />
<MudTextField Label="Description" Class="mt-3"
Expand Down

0 comments on commit 57163f6

Please sign in to comment.