requests for changes fixed

teams
sam 1 year ago
parent 39ed6a9ac7
commit dd7a3ee1d2

@ -1,6 +0,0 @@
namespace AdminPanel.Components;
public class TeamComponents
{
}

@ -10,7 +10,7 @@
<MudPopover Open="@_isOpenAdd" Fixed="true" Class="px-4 pt-4"> <MudPopover Open="@_isOpenAdd" Fixed="true" Class="px-4 pt-4">
<div class="d-flex flex-column"> <div class="d-flex flex-column">
<MudForm @bind-IsValid="@success" @bind-Errors="@errors"> <MudForm @bind-IsValid="@_success" @bind-Errors="@_errors">
<MudTextField <MudTextField
T="string" T="string"
Label="Name" Label="Name"

@ -14,8 +14,8 @@ public partial class TeamListPanel
[Inject] private ITeamService TeamService { get; init; } [Inject] private ITeamService TeamService { get; init; }
private bool _isOpenAdd; private bool _isOpenAdd;
private bool _isOpenConf; private bool _isOpenConf;
private bool success; private bool _success;
private string[] errors = { }; private string[] _errors = { };
[StringLength(1,ErrorMessage = "Nombre de caractères minimal : 1 ")] [StringLength(1,ErrorMessage = "Nombre de caractères minimal : 1 ")]
private string? FormName { get; set; } private string? FormName { get; set; }

@ -1,4 +0,0 @@
<h3>TeamListPanel_razor_cs</h3>
@code {
}
Loading…
Cancel
Save