File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
src/Azure.AISearch.WebApp/Pages Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 501501 }
502502
503503 <div class =" input-group" >
504- <input type =" text" class =" form-control border-primary" placeholder =" Search or ask anything" name =" @nameof(SearchRequest.Query)" />
505- <button class =" btn btn-outline-primary" type =" submit" ><i class =" bi bi-send" ></i > Send</button >
504+ <input type =" text"
505+ class =" form-control border-primary"
506+ placeholder =" Search or ask anything"
507+ name =" @nameof(SearchRequest.Query)"
508+ v-model =" query"
509+ :disabled =" isLoading" />
510+ <button class =" btn btn-outline-primary" type =" submit" @click =" submitSearch" :disabled =" isLoading" >
511+ <span v-if =" !isLoading" ><i class =" bi bi-send" ></i > Send</span >
512+ <span v-else ><i class =" spinner-border spinner-border-sm" role =" status" aria-hidden =" true" ></i > Searching...</span >
513+ </button >
506514 </div >
515+
507516</form >
508517
509518<partial name =" _SearchResponse" model =" Model.SearchResponse" />
You can’t perform that action at this time.
0 commit comments