Explorar el Código

отображение курсов

Rimmon hace 3 años
padre
commit
1b167d1baf
Se han modificado 1 ficheros con 4 adiciones y 3 borrados
  1. 4 3
      Pages/ModalAssets.razor

+ 4 - 3
Pages/ModalAssets.razor

@@ -1,4 +1,5 @@
-<div class="modal" tabindex="-1" role="dialog" style="display:none" id="@elementid">
+@using Microsoft.AspNetCore.Components.Web
+<div class="modal" tabindex="-1" role="dialog" style="display:none" id="@elementid">
     <div class="modal-container">
         <div class="modal__body">
             <div class="modal__body__header">
@@ -58,14 +59,14 @@
                         <p class="modal__body__calc__change__header">Обмен</p>
                         <p class="modal__body__calc__change__desc">Trade tokens in an istant</p>
                         <div class="modal__input__box" place="From" balanc=@chosenBalanceFrom>
-                            <input value=@fromInput type="text" class="modal__input">
+                            <input @bind=fromInput @bind:event="oninput" type="text" class="modal__input">
                             <select @bind="from_token_selected" type="select" class="modal__select">
                                 <option value="eth">ETH</option>
                                 <option value="hcb">HCB</option>
                             </select>
                         </div>
                         <div class="modal__input__box" place="To" balanc=@chosenBalanceTo>
-                            <input value=@toInput  type="text" class="modal__input">
+                            <input @bind=toInput @bind:event="oninput" type="text" class="modal__input">
                             <select @bind="to_token_selected"  type="select" class="modal__select">
                                 <option value="hcb">HCB</option>
                                 <option value="eth">ETH</option>