@using CMSMicroservice.Protobuf.Protos.UserRole
@using BackOffice.Common.BaseComponents
@using Microsoft.AspNetCore.Components.Forms
@using Tizzani.MudBlazor.HtmlEditor


<MudDialog>
    <DialogContent>
        <MudStack>

            <MudItem xs="12">
                <BackOffice.Pages.AutoComplete.RoleAutoComplete ValueChanged="@(x => Model.RoleId = x.Value)" />
            </MudItem>
        </MudStack>
    </DialogContent>
    <DialogActions>
        <MudButton OnClick="Cancel" Disabled="_isLoading">لغو</MudButton>
        <MudButton Color="Color.Primary" OnClick="CallUpdateMethod" Disabled="_isLoading">ثبت</MudButton>
    </DialogActions>
</MudDialog>

