Skip to content

Commit

Permalink
Merge pull request Nfactor26#44 from Nfactor26/editable-scope-name-wh…
Browse files Browse the repository at this point in the history
…ile-adding-scope

Name should be editable while adding a new scope
  • Loading branch information
Nfactor26 authored Apr 10, 2022
2 parents ee0dc0b + 57163f6 commit 148dd8b
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 148dd8b

Please sign in to comment.