@page "/" New Chat
New chat
What you're looking for
Product
Gift
What you're looking for, we will help you solve your problem and find it
Send message
@code{ private string selectedChoice = "Product"; private void Сhoose_product() { selectedChoice = "Product"; } private void Сhoose_gift() { selectedChoice = "Gift"; } private async Task UpdateSideMenu(string wishlistId) { await JSRuntime.InvokeVoidAsync("myJavaScriptFunction", wishlistId); } private void InputChanged(ChangeEventArgs e) { // Оновіть значення поля введення при кожному введенні тексту inputValue = e.Value.ToString(); } public void Enter(KeyboardEventArgs e) { if (e.Code == "Enter" || e.Code == "NumpadEnter") { if (!string.IsNullOrWhiteSpace(inputValue)) { CreateNewChat(); } } } }