@inherits AComponent
@{try{
<div @attributes=@Attributes id=@ContainerId class=@ContainerClasses style="ContainerStyle_0; @ContainerStyle">
<!--=============================================================================================-->
<table class="a_editbox_LayoutTABLE">
   <tbody>
      <tr>
         <td class="a_editbox_InputTD">
            <AErrorFrame @ref=@ErrorFrame InitialMessage=@InitialErrorMessage>
               <input @ref=@InputElement id=@InputId
                      type=@(IsPasswordEditor ? "password" : "text")
                      class="@InputElement_EDClass @InputClasses_0 @InputClasses"
                      style="@InputStyle_0; @InputStyle" tabindex=@TabIndex
                      title=@(ErrorMessage ?? Title) accesskey=@AccessKey
                      placeholder=@Placeholder
                      disabled=@(Enabled ? null : "true")
                      onchange="setTimeout(()=>{ WASM.Invoke_1('wasm_AEditBox_OnChange','@UniqueId') })"
                      onblur="setTimeout(()=>{ WASM.Invoke_1('wasm_AEditBox_OnBlur','@UniqueId') })"
                      @oninput=@InputElement_OnInput
                      @onkeydown=@InputElement_OnKeyDown
                      @onmousedown=@InputElement_OnMouseDown
                      @onmouseup=@InputElement_OnMouseUp
                      @onfocus=@InputElement_OnFocus
                      value=@TextValue />
            </AErrorFrame>
         </td>
         @if (ResetPresence != ElementPresence.None)
         {
         <td class="a_editbox_ResetHRefTD">
            <AResetControl @ref=@ResetControl HRefId=@ResetHRefId HRef=@ResetHRefValue
                           HRefClasses=@ResetHRefClasses HRefStyle=@ResetControlStyle
                           Title=@ResetHRefTitle Enabled=@Enabled />
         </td>
         }
      </tr>
   </tbody>
</table><!--a_editbox_LayoutTABLE-->
<!--=============================================================================================-->
</div>
}catch(Exception e){ProcessRenderingError(GetType(),e);}}
