This commit is contained in:
mmrbnjd
2024-04-17 15:49:34 +03:30
parent f829d80851
commit 3f0a37a08b
27 changed files with 1253 additions and 79 deletions

View File

@@ -42,13 +42,13 @@
<div class="row gx-20">
<div class="col-12">
<div class="postbox__comment-input mb-30">
<InputText @bind-Value="model.FullName" id="FullName" type="text" class="inputText" required="" />
<InputText onkeydown="@OnClearmessageStore" @bind-Value="model.FullName" id="FullName" type="text" class="inputText" required="" />
<span class="floating-label">نام شما</span>
</div>
</div>
<div class="col-12">
<div class="postbox__comment-input mb-35">
<InputText @bind-Value="model.Mobile" id="Mobile" type="text" class="inputText" required=""/>
<InputText onkeydown="@OnClearmessageStore" @bind-Value="model.Mobile" id="Mobile" type="text" class="inputText" required="" />
<span class="floating-label">موبایل</span>
</div>
</div>
@@ -103,6 +103,7 @@
}
}
@functions{
private async Task OnClearmessageStore() => messageStore?.Clear();
private async Task newTicket(){
var request = await _hc.PostAsJsonAsync("Ticket/NewTicketNoAuthentication", model);